diff --git a/wp-redis-cache/wp-redis-cache.php b/wp-redis-cache/wp-redis-cache.php index d1689c6a74fed092bc3258ac3ea6fdab1552cc41..2a1d31c74707e20e4de53af10700db027baa7fed 100644 --- a/wp-redis-cache/wp-redis-cache.php +++ b/wp-redis-cache/wp-redis-cache.php @@ -163,7 +163,7 @@ class WP_Redis_Cache { public function register_ui() { // Don't show UI if ( defined( 'WP_REDIS_CACHE_HIDE_UI' ) && WP_REDIS_CACHE_HIDE_UI ) { - return + return; } add_options_page( 'WP Redis Cache', 'WP Redis Cache', 'manage_options', $this->ns, array( $this, 'render_ui' ) );