Version Description
- Fixed unserializing values in
wp_cache_get_multiple()
Download this release
Release Info
Developer | tillkruess |
Plugin | Redis Object Cache |
Version | 2.0.10 |
Comparing to | |
See all releases |
Code changes from version 2.0.9 to 2.0.10
- includes/object-cache.php +2 -3
- readme.txt +6 -2
- redis-cache.php +1 -1
includes/object-cache.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Redis Object Cache Drop-In
|
4 |
* Plugin URI: http://wordpress.org/plugins/redis-cache/
|
5 |
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Credis, HHVM, replication, clustering and WP-CLI.
|
6 |
-
* Version: 2.0.
|
7 |
* Author: Till Krüss
|
8 |
* Author URI: https://objectcache.pro
|
9 |
* License: GPLv3
|
@@ -1399,6 +1399,7 @@ LUA;
|
|
1399 |
$this->cache_time += $execute_time;
|
1400 |
|
1401 |
foreach ( $results as $key => $value ) {
|
|
|
1402 |
$cache[ $key ] = $value;
|
1403 |
|
1404 |
if ( $value === false ) {
|
@@ -1410,8 +1411,6 @@ LUA;
|
|
1410 |
}
|
1411 |
}
|
1412 |
|
1413 |
-
$cache = array_map( array( $this, 'maybe_unserialize' ), $cache );
|
1414 |
-
|
1415 |
if ( function_exists( 'do_action' ) ) {
|
1416 |
do_action( 'redis_object_cache_get_multiple', $keys, $cache, $group, $force, $execute_time );
|
1417 |
}
|
3 |
* Plugin Name: Redis Object Cache Drop-In
|
4 |
* Plugin URI: http://wordpress.org/plugins/redis-cache/
|
5 |
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Credis, HHVM, replication, clustering and WP-CLI.
|
6 |
+
* Version: 2.0.10
|
7 |
* Author: Till Krüss
|
8 |
* Author URI: https://objectcache.pro
|
9 |
* License: GPLv3
|
1399 |
$this->cache_time += $execute_time;
|
1400 |
|
1401 |
foreach ( $results as $key => $value ) {
|
1402 |
+
$value = $this->maybe_unserialize($value);
|
1403 |
$cache[ $key ] = $value;
|
1404 |
|
1405 |
if ( $value === false ) {
|
1411 |
}
|
1412 |
}
|
1413 |
|
|
|
|
|
1414 |
if ( function_exists( 'do_action' ) ) {
|
1415 |
do_action( 'redis_object_cache_get_multiple', $keys, $cache, $group, $force, $execute_time );
|
1416 |
}
|
readme.txt
CHANGED
@@ -5,7 +5,7 @@ Tags: redis, predis, phpredis, credis, hhvm, pecl, caching, cache, object cache,
|
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.0.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -83,6 +83,10 @@ To see a list of all available WP-CLI commands, please see the [WP CLI commands
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= 2.0.9 =
|
87 |
|
88 |
- Highlight current metric type using color
|
@@ -435,6 +439,6 @@ Since Predis isn't maintained any longer, it's highly recommended to switch over
|
|
435 |
|
436 |
== Upgrade Notice ==
|
437 |
|
438 |
-
= 2.0.
|
439 |
|
440 |
Version 2.0 is a significant rewrite of the plugin. Please read the v2.0.0 release notes.
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.0.10
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 2.0.10 =
|
87 |
+
|
88 |
+
- Fixed unserializing values in `wp_cache_get_multiple()`
|
89 |
+
|
90 |
= 2.0.9 =
|
91 |
|
92 |
- Highlight current metric type using color
|
439 |
|
440 |
== Upgrade Notice ==
|
441 |
|
442 |
+
= 2.0.10 =
|
443 |
|
444 |
Version 2.0 is a significant rewrite of the plugin. Please read the v2.0.0 release notes.
|
redis-cache.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Redis Object Cache
|
4 |
* Plugin URI: https://wordpress.org/plugins/redis-cache/
|
5 |
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Credis, HHVM, replication, clustering and WP-CLI.
|
6 |
-
* Version: 2.0.
|
7 |
* Text Domain: redis-cache
|
8 |
* Domain Path: /languages
|
9 |
* Network: true
|
3 |
* Plugin Name: Redis Object Cache
|
4 |
* Plugin URI: https://wordpress.org/plugins/redis-cache/
|
5 |
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Credis, HHVM, replication, clustering and WP-CLI.
|
6 |
+
* Version: 2.0.10
|
7 |
* Text Domain: redis-cache
|
8 |
* Domain Path: /languages
|
9 |
* Network: true
|