Adjust comments on ConditionalTagCheck to match actual functionality.

The check returns false, if any of it's tags are true, not vise versa.
This commit is contained in:
Louis des Landes
2015-06-02 15:06:33 +10:00
parent fd8d9accb7
commit 4c51724b25

View File

@@ -4,7 +4,7 @@ namespace Roots\Sage;
/**
* Utility class which takes an array of conditional tags (or any function which returns a boolean)
* and returns `true` if *any* of them are `true`, and `false` otherwise.
* and returns `false` if *any* of them are `true`, and `true` otherwise.
*
* @param array list of conditional tags (http://codex.wordpress.org/Conditional_Tags)
* or custom function which returns a boolean