diff --git a/readme.txt b/readme.txt index a9cb349..41297b1 100644 --- a/readme.txt +++ b/readme.txt @@ -46,7 +46,7 @@ Many thanks for donations, contributors, supporters, testers & bug reporters: * Jason Miller * [Dave Clark](https://github.com/dkcwd) * Miguel Clara -* [plescheff](https://github.com/plescheff) +* [Anton Pelešev](https://github.com/plescheff) * Firas Dib * [CotswoldPhoto](http://wordpress.org/support/profile/cotswoldphoto) * [tamagokun](https://github.com/tamagokun) diff --git a/wp-ffpc-class.php b/wp-ffpc-class.php index 75ea854..f555994 100644 --- a/wp-ffpc-class.php +++ b/wp-ffpc-class.php @@ -694,7 +694,7 @@ class WP_FFPC extends PluginAbstract { options['memcached_binary'],true); ?> /> plugin_constant); ?> - + options['cache_type'], 'memcached') && extension_loaded ( 'memcached' ) && version_compare( phpversion( 'memcached' ) , '2.0.0', '>=' ) || ( $this->options['cache_type'] == 'redis' ) ) { ?> backend->clear(); + $this->backend->clear(null, true); /* create the to-be-included configuration for advanced-cache.php */ $this->update_global_config();