Redis Object Cache - Version 2.1.5

Version Description

  • Fixed is_predis() call
Download this release

Release Info

Developer tillkruess
Plugin Icon 128x128 Redis Object Cache
Version 2.1.5
Comparing to
See all releases

Code changes from version 2.1.4 to 2.1.5

Files changed (3) hide show
  1. includes/object-cache.php +2 -2
  2. readme.txt +6 -2
  3. 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: https://wordpress.org/plugins/redis-cache/
5
  * Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
6
- * Version: 2.1.4
7
  * Author: Till Krüss
8
  * Author URI: https://objectcache.pro
9
  * License: GPLv3
@@ -1657,7 +1657,7 @@ LUA;
1657
  $script = 'redis.replicate_commands()' . "\n" . $script;
1658
  }
1659
 
1660
- $args = is_predis() ? [ $script, 0 ] : [ $script ];
1661
 
1662
  return call_user_func_array( [ $this->redis, 'eval' ], $args );
1663
  };
3
  * Plugin Name: Redis Object Cache Drop-In
4
  * Plugin URI: https://wordpress.org/plugins/redis-cache/
5
  * Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
6
+ * Version: 2.1.5
7
  * Author: Till Krüss
8
  * Author URI: https://objectcache.pro
9
  * License: GPLv3
1657
  $script = 'redis.replicate_commands()' . "\n" . $script;
1658
  }
1659
 
1660
+ $args = $this->is_predis() ? [ $script, 0 ] : [ $script ];
1661
 
1662
  return call_user_func_array( [ $this->redis, 'eval' ], $args );
1663
  };
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: redis, predis, phpredis, credis, relay, caching, cache, object cache, perf
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
  Requires PHP: 7.2
8
- Stable tag: 2.1.4
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.1.4 =
87
 
88
  - Added `is_predis()` helper
@@ -588,6 +592,6 @@ Since Predis isn't maintained any longer, it's highly recommended to switch over
588
 
589
  == Upgrade Notice ==
590
 
591
- = 2.1.4 =
592
 
593
  Bumped PHP requirement to 7.2, updated Predis to v2.0 and deprecated Credis and HHVM clients.
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
  Requires PHP: 7.2
8
+ Stable tag: 2.1.5
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
83
 
84
  == Changelog ==
85
 
86
+ = 2.1.5 =
87
+
88
+ - Fixed `is_predis()` call
89
+
90
  = 2.1.4 =
91
 
92
  - Added `is_predis()` helper
592
 
593
  == Upgrade Notice ==
594
 
595
+ = 2.1.5 =
596
 
597
  Bumped PHP requirement to 7.2, updated Predis to v2.0 and deprecated Credis and HHVM clients.
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, Relay, replication, sentinels, clustering and WP-CLI.
6
- * Version: 2.1.4
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, Relay, replication, sentinels, clustering and WP-CLI.
6
+ * Version: 2.1.5
7
  * Text Domain: redis-cache
8
  * Domain Path: /languages
9
  * Network: true