Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let getSupport() check if WP mode is set to auto before changing WP n…
…eedlessly Also refactor getSupport() function to be a little bit more semantic and reduce nested if statements so logic is clearer.
- Loading branch information
1 parent
95378e5
commit 61625b4
Showing
1 changed file
with
42 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters