From 89798ac88589d079f022896c7cf6a32f0459a94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sa=C5=A1a=20Todorovi=C4=87?= Date: Tue, 7 Aug 2018 08:53:57 +0200 Subject: [PATCH] Fixes wp-cli - infinite amount of semaphores via sem_get (#576) --- wp-cache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-cache.php b/wp-cache.php index 2c359989..00190582 100644 --- a/wp-cache.php +++ b/wp-cache.php @@ -66,6 +66,7 @@ function wpsc_init() { * It's minimal list of global variables. */ global $super_cache_enabled, $cache_enabled, $wp_cache_home_path, $cache_path; +global $wp_cache_mutex_disabled, $mutex_filename, $sem_id; global $wp_cache_config_file, $wp_cache_config_file_sample; if( !@include($wp_cache_config_file) ) {