From e068f395560bda0b7c7a6d1f742c3bfd669b6eb9 Mon Sep 17 00:00:00 2001 From: Dave Clark Date: Wed, 1 Jan 2014 23:19:04 +1100 Subject: [PATCH] Update wp-ffpc-class.php Fixed undefined variable - minor typo (memcache_protocol was defined however conditional test was checking equivalence of undefined variable memcached_protocol). --- wp-ffpc-class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index ab3ec9a..c6873fc 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -220,7 +220,7 @@ if ( ! class_exists( 'WP_FFPC' ) ) { if ( !empty ( $memcache_settings ) && $this->options['cache_type'] == 'memcache' ) { $memcache_protocol = strtolower($memcache_settings['memcache.protocol']['local_value']); - if ( $memcached_protocol == 'binary' ) { + if ( $memcache_protocol == 'binary' ) { $this->errors['binary_memcache'] = __('WARNING: Memcache extension is configured to use binary mode. This is very buggy and the plugin will most probably not work correctly.
Please consider to change either to ASCII mode or to Memcached extension.', $this->plugin_constant ); } }