Skip to content

Commit

Permalink
Fix sytnax error
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelwhitton committed Aug 23, 2023
1 parent 3f2a92f commit 4358edb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion php/pantheon/checks/objectcache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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. <a href="https://docs.pantheon.io/guides/object-cache-pro/installing-configuring/" target="_blank">Learn More</a> about how to install Object Cache Pro.', 'code' => 1);
}
elseif ( ! defined( 'WP_REDIS_CONFIG' ) || ! WP_REDIS_CONFIG ) {
Expand Down

0 comments on commit 4358edb

Please sign in to comment.