updated plugin W3 Total Cache version 2.7.0

This commit is contained in:
2024-03-28 09:40:06 +00:00
committed by Gitium
parent 60de585044
commit 218272bbcb
140 changed files with 3054 additions and 3013 deletions

View File

@ -247,7 +247,7 @@ class Cache_Memcached extends Cache_Base {
public function get_statistics() {
$a = $this->_memcache->getStats();
if ( count( $a ) > 0 ) {
if ( ! empty( $a ) && count( $a ) > 0 ) {
$keys = array_keys( $a );
$key = $keys[0];
return $a[$key];