diff --git a/php/pantheon/checks/objectcache.php b/php/pantheon/checks/objectcache.php index 0bccae8..092f8dc 100644 --- a/php/pantheon/checks/objectcache.php +++ b/php/pantheon/checks/objectcache.php @@ -29,7 +29,7 @@ public function run() { } else { $this->alerts[] = array("message"=> "object-cache.php exists", "code" => 0); } - if ( defined( 'WP_REDIS_OBJECT_CACHE' ) { + if ( defined( 'WP_REDIS_OBJECT_CACHE' )) { $this->alerts[] = array('message'=> 'WP Redis for object caching was found. We recommend using Object Cache Pro as a replacement. Learn More about how to install Object Cache Pro.', 'code' => 1); } elseif ( ! defined( 'WP_REDIS_CONFIG' ) || ! WP_REDIS_CONFIG ) {