Merge pull request #8 from dkcwd/patch-1

Update wp-ffpc-class.php
This commit is contained in:
Peter Molnar 2014-04-03 15:48:38 +01:00
commit e06e6991be

View file

@ -220,7 +220,7 @@ if ( ! class_exists( 'WP_FFPC' ) ) {
if ( !empty ( $memcache_settings ) && $this->options['cache_type'] == 'memcache' ) if ( !empty ( $memcache_settings ) && $this->options['cache_type'] == 'memcache' )
{ {
$memcache_protocol = strtolower($memcache_settings['memcache.protocol']['local_value']); $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 ); $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 );
} }
} }