From e8b2eddd358ec5781197ff1de388e534068874c2 Mon Sep 17 00:00:00 2001 From: Jay Wood Date: Mon, 1 Dec 2014 08:00:10 -0500 Subject: [PATCH] Return true if in category that's gated --- class/main.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/main.class.php b/class/main.class.php index 1c933b3..a3185a4 100644 --- a/class/main.class.php +++ b/class/main.class.php @@ -117,7 +117,7 @@ class CWV3 { // We have categories to check, so let us do so. $current_categories = get_the_category( $post_id ); if ( $this->in_cat( $category_array, $current_categories ) ){ - // @TODO Continue here + return true; // Just return true if it's in the category. } } }