From 4c51724b259ccb8e73054b3f5099fd58bb429a0f Mon Sep 17 00:00:00 2001 From: Louis des Landes Date: Tue, 2 Jun 2015 15:06:33 +1000 Subject: [PATCH] Adjust comments on ConditionalTagCheck to match actual functionality. The check returns false, if any of it's tags are true, not vise versa. --- lib/conditional-tag-check.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/conditional-tag-check.php b/lib/conditional-tag-check.php index f4aaa75..61f53b6 100644 --- a/lib/conditional-tag-check.php +++ b/lib/conditional-tag-check.php @@ -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