all repos — wp-ffpc @ e068f395560bda0b7c7a6d1f742c3bfd669b6eb9

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
commit

e068f395560bda0b7c7a6d1f742c3bfd669b6eb9

parent

dc7e4f3f4e733ae917de7acf7b35eee8441d3312

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M wp-ffpc-class.phpwp-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 ); } }