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).
Dave Clark dave@dkcwd.com.au
Wed, 01 Jan 2014 23:19:04 +1100
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
wp-ffpc-class.php
→
wp-ffpc-class.php
@@ -220,7 +220,7 @@ $memcache_settings = ini_get_all( 'memcache' );
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. <br />Please consider to change either to ASCII mode or to Memcached extension.', $this->plugin_constant ); } }