Redis Object Cache - Version 2.1.6

Version Description

  • Fixed SVN discrepancies
Download this release

Release Info

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

Code changes from version 2.1.5 to 2.1.6

includes/class-plugin.php CHANGED
@@ -281,7 +281,7 @@ class Plugin {
281
  return;
282
  }
283
 
284
- wp_enqueue_style( 'redis-cache', WP_REDIS_DIR . '/assets/css/admin.css', null, WP_REDIS_VERSION );
285
  }
286
 
287
  /**
281
  return;
282
  }
283
 
284
+ wp_enqueue_style( 'redis-cache', WP_REDIS_PLUGIN_DIR . '/assets/css/admin.css', null, WP_REDIS_VERSION );
285
  }
286
 
287
  /**
includes/diagnostics.php CHANGED
@@ -119,22 +119,22 @@ if ( defined( 'WP_REDIS_PASSWORD' ) ) {
119
 
120
  if ( $dropin && ! $disabled ) {
121
  $info['Global Groups'] = wp_json_encode(
122
- array_values( $wp_object_cache->global_groups ),
123
  JSON_PRETTY_PRINT
124
  );
125
 
126
  $info['Ignored Groups'] = wp_json_encode(
127
- array_values( $wp_object_cache->ignored_groups ),
128
  JSON_PRETTY_PRINT
129
  );
130
 
131
  $info['Unflushable Groups'] = wp_json_encode(
132
- array_values( $wp_object_cache->unflushable_groups ),
133
  JSON_PRETTY_PRINT
134
  );
135
 
136
  $info['Groups Types'] = wp_json_encode(
137
- $wp_object_cache->group_type,
138
  JSON_PRETTY_PRINT
139
  );
140
  }
119
 
120
  if ( $dropin && ! $disabled ) {
121
  $info['Global Groups'] = wp_json_encode(
122
+ array_values( $wp_object_cache->global_groups ?? [] ),
123
  JSON_PRETTY_PRINT
124
  );
125
 
126
  $info['Ignored Groups'] = wp_json_encode(
127
+ array_values( $wp_object_cache->ignored_groups ?? [] ),
128
  JSON_PRETTY_PRINT
129
  );
130
 
131
  $info['Unflushable Groups'] = wp_json_encode(
132
+ array_values( $wp_object_cache->unflushable_groups ?? [] ),
133
  JSON_PRETTY_PRINT
134
  );
135
 
136
  $info['Groups Types'] = wp_json_encode(
137
+ $wp_object_cache->group_type ?? null,
138
  JSON_PRETTY_PRINT
139
  );
140
  }
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.5
7
  * Author: Till Krüss
8
  * Author URI: https://objectcache.pro
9
  * License: GPLv3
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.6
7
  * Author: Till Krüss
8
  * Author URI: https://objectcache.pro
9
  * License: GPLv3
languages/redis-cache.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Redis Object Cache 2.1.3\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/redis-cache\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-07-20T18:43:43+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: redis-cache\n"
2
  # This file is distributed under the GPLv3.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Redis Object Cache 2.1.6\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/redis-cache\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-07-20T20:19:16+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.6.0\n"
15
  "X-Domain: redis-cache\n"
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.5
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.5 =
87
 
88
  - Fixed `is_predis()` call
@@ -592,6 +596,6 @@ Since Predis isn't maintained any longer, it's highly recommended to switch over
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.
5
  Requires at least: 3.3
6
  Tested up to: 6.0
7
  Requires PHP: 7.2
8
+ Stable tag: 2.1.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
83
 
84
  == Changelog ==
85
 
86
+ = 2.1.6 =
87
+
88
+ - Fixed SVN discrepancies
89
+
90
  = 2.1.5 =
91
 
92
  - Fixed `is_predis()` call
596
 
597
  == Upgrade Notice ==
598
 
599
+ = 2.1.6 =
600
 
601
  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.5
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.6
7
  * Text Domain: redis-cache
8
  * Domain Path: /languages
9
  * Network: true