updated plugin W3 Total Cache version 2.6.1

This commit is contained in:
2023-12-08 23:23:32 +00:00
committed by Gitium
parent fa428d9da9
commit 33d18af972
82 changed files with 5759 additions and 1701 deletions

View File

@ -132,17 +132,19 @@ class Minify_Cache_File {
*
* @param string $id cache id (e.g. a filename)
*
* @return string
* @return string|false
*/
public function fetch($id)
{
$path = $this->_path . '/' . $id;
$data = @file_get_contents($path . '_meta');
if ($data) {
if ( ! empty( $data ) ) {
$data = @unserialize($data);
if (!is_array($data))
$data = array();
} else {
$data = array();
}
if (is_readable($path)) {