Skip to content

Commit 6b29d14

Browse files
committed
tag v2.7.0
1 parent d245255 commit 6b29d14

File tree

5 files changed

+43
-16
lines changed

5 files changed

+43
-16
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# Changelog
22

3-
## Unreleased
4-
- Fixed (in|de)crement calls removing key TTL
3+
## 2.7.0
4+
5+
- Preserve key TTL when calling (in|de)crement methods
56
- Updated `wp_cache_*()` function signatures to match core
67
- Removed deprecated HHVM support
78
- Removed deprecated `WP_REDIS_SERIALIZER` constant

includes/object-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Redis Object Cache Drop-In
44
* Plugin URI: https://wordpress.org/plugins/redis-cache/
55
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
6-
* Version: 2.6.5
6+
* Version: 2.7.0
77
* Author: Till Krüss
88
* Author URI: https://objectcache.pro
99
* License: GPLv3

languages/redis-cache.pot

Lines changed: 28 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
# This file is distributed under the GPLv3.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Redis Object Cache 2.6.3\n"
5+
"Project-Id-Version: Redis Object Cache 2.7.0\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/redis-cache\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2025-07-24T21:29:53+00:00\n"
12+
"POT-Creation-Date: 2025-09-29T16:10:12+00:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"X-Generator: WP-CLI 2.11.0\n"
14+
"X-Generator: WP-CLI 2.12.0\n"
1515
"X-Domain: redis-cache\n"
1616

1717
#. Plugin Name of the plugin
@@ -134,11 +134,13 @@ msgstr ""
134134

135135
#. translators: %s = Action link to update the drop-in.
136136
#: includes/class-plugin.php:706
137+
#, php-format
137138
msgid "The Redis object cache drop-in is outdated. Please <a href=\"%s\">update the drop-in</a>."
138139
msgstr ""
139140

140141
#. translators: %s = Link to settings page.
141142
#: includes/class-plugin.php:713
143+
#, php-format
142144
msgid "A foreign object cache drop-in was found. To use Redis for object caching, please <a href=\"%s\">enable the drop-in</a>."
143145
msgstr ""
144146

@@ -155,11 +157,13 @@ msgstr ""
155157

156158
#. translators: %s = The status of the Redis connection.
157159
#: includes/class-plugin.php:785
160+
#, php-format
158161
msgid "Status: %s"
159162
msgstr ""
160163

161164
#. translators: 1: Hit ratio, 2: Hits, 3: Misses. 4: Human-readable size of cache.
162165
#: includes/class-plugin.php:805
166+
#, php-format
163167
msgid "(Current page) Hit Ratio: %1$s%%, Hits %2$s, Misses: %3$s, Size: %4$s"
164168
msgstr ""
165169

@@ -213,6 +217,7 @@ msgstr ""
213217

214218
#. translators: %s = Action link to update the drop-in.
215219
#: includes/class-plugin.php:1107
220+
#, php-format
216221
msgid "The Object Cache Pro plugin appears to be installed and should be used. You can safely <a href=\"%s\">uninstall Redis Object Cache</a>."
217222
msgstr ""
218223

@@ -222,6 +227,7 @@ msgstr ""
222227

223228
#. translators: %s = Link to the plugin setting screen.
224229
#: includes/class-plugin.php:1142
230+
#, php-format
225231
msgid "A <u>business class</u> object cache backend. Truly reliable, highly-optimized and fully customizable, with a <u>dedicated engineer</u> when you most need it. <a href=\"%s\">Learn more »</a>"
226232
msgstr ""
227233

@@ -231,11 +237,13 @@ msgstr ""
231237

232238
#. translators: %s = Link to the plugin's settings screen.
233239
#: includes/class-plugin.php:1190
240+
#, php-format
234241
msgid "Object Cache Pro is a <u>business class</u> object cache that’s highly-optimized for WooCommerce to provide true reliability, peace of mind and faster load times for your store. <a style=\"color: #bb77ae;\" href=\"%s\">Learn more »</a>"
235242
msgstr ""
236243

237244
#. translators: %1$d = number of objects. %2$s = human-readable size of cache. %3$s = name of the used client.
238245
#: includes/class-plugin.php:1260
246+
#, php-format
239247
msgid "Retrieved %1$d objects (%2$s) from Redis using %3$s."
240248
msgstr ""
241249

@@ -302,6 +310,7 @@ msgstr ""
302310

303311
#. translators: %s = The Redis connection error message.
304312
#: includes/cli/class-commands.php:68
313+
#, php-format
305314
msgid "Object cache could not be enabled. Redis server is unreachable: %s"
306315
msgstr ""
307316

@@ -311,38 +320,43 @@ msgstr ""
311320

312321
#. translators: %s = The Redis connection error message.
313322
#: includes/cli/class-commands.php:160
323+
#, php-format
314324
msgid "Object cache drop-in could not be updated. Redis server is unreachable: %s"
315325
msgstr ""
316326

317-
#: includes/object-cache.php:3005
327+
#: includes/object-cache.php:2967
318328
msgid "Error establishing a Redis connection"
319329
msgstr ""
320330

321331
#. translators: %s = Formatted wp-config.php file name.
322-
#: includes/object-cache.php:3012
332+
#: includes/object-cache.php:2974
333+
#, php-format
323334
msgid "WordPress is unable to establish a connection to Redis. This means that the connection information in your %s file are incorrect, or that the Redis server is not reachable."
324335
msgstr ""
325336

326-
#: includes/object-cache.php:3017
337+
#: includes/object-cache.php:2979
327338
msgid "Is the correct Redis host and port set?"
328339
msgstr ""
329340

330-
#: includes/object-cache.php:3018
341+
#: includes/object-cache.php:2980
331342
msgid "Is the Redis server running?"
332343
msgstr ""
333344

334345
#. translators: %s = Link to installation instructions.
335-
#: includes/object-cache.php:3023
346+
#: includes/object-cache.php:2985
347+
#, php-format
336348
msgid "If you need help, please read the <a href=\"%s\">installation instructions</a>."
337349
msgstr ""
338350

339351
#. translators: %1$s = Formatted object-cache.php file name, %2$s = Formatted wp-content directory name.
340-
#: includes/object-cache.php:3030
352+
#: includes/object-cache.php:2992
353+
#, php-format
341354
msgid "To disable Redis, delete the %1$s file in the %2$s directory."
342355
msgstr ""
343356

344357
#. translators: %s = Tab label.
345358
#: includes/ui/class-tab.php:154
359+
#, php-format
346360
msgid "%s are disabled for this site."
347361
msgstr ""
348362

@@ -396,6 +410,7 @@ msgstr ""
396410

397411
#. translators: %s = Object Cache Pro.
398412
#: includes/ui/settings.php:83
413+
#, php-format
399414
msgid "Check out %s"
400415
msgstr ""
401416

@@ -453,6 +468,7 @@ msgstr ""
453468

454469
#. translators: %s = PHP Version.
455470
#: includes/ui/settings.php:132
471+
#, php-format
456472
msgid "The current version of PHP (%s) is too old. PHP 7.2 or newer is required."
457473
msgstr ""
458474

@@ -462,6 +478,7 @@ msgstr ""
462478

463479
#. translators: %s = Version of the PhpRedis extension.
464480
#: includes/ui/settings.php:148
481+
#, php-format
465482
msgid "The current version of the PhpRedis extension (%s) is too old. PhpRedis 3.1.1 or newer is required."
466483
msgstr ""
467484

@@ -584,6 +601,7 @@ msgstr ""
584601
#. translators: %s = Redis connection/read timeout in seconds.
585602
#: includes/ui/tabs/overview.php:220
586603
#: includes/ui/tabs/overview.php:237
604+
#, php-format
587605
msgid "%ss"
588606
msgstr ""
589607

@@ -597,6 +615,7 @@ msgstr ""
597615

598616
#. translators: %s = Redis retry interval in milliseconds.
599617
#: includes/ui/tabs/overview.php:254
618+
#, php-format
600619
msgid "%sms"
601620
msgstr ""
602621

readme.txt

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tags: redis, object cache, caching, performance, relay
55
Requires at least: 4.6
66
Tested up to: 6.8
77
Requires PHP: 7.2
8-
Stable tag: 2.6.5
8+
Stable tag: 2.7.0
99
License: GPLv3
1010
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1111

@@ -61,6 +61,13 @@ Redis Object Cache has various WP CLI commands, for more information run `wp hel
6161

6262
== Changelog ==
6363

64+
= 2.7.0 =
65+
66+
- Preserve key TTL when calling (in|de)crement methods
67+
- Updated `wp_cache_*()` function signatures to match core
68+
- Removed deprecated HHVM support
69+
- Removed deprecated `WP_REDIS_SERIALIZER` constant
70+
6471
= 2.6.5 =
6572

6673
- Fixed an issue with (in|de)crement cache values when using igbinary
@@ -735,6 +742,6 @@ Since Predis isn't maintained any longer, it's highly recommended to switch over
735742

736743
== Upgrade Notice ==
737744

738-
= 2.4.0 =
745+
= 2.7.0 =
739746

740-
Version 2.4.0 includes several stability and QoL improvements.
747+
Version 2.7.0 includes critical stability fixes.

redis-cache.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Redis Object Cache
44
* Plugin URI: https://wordpress.org/plugins/redis-cache/
55
* Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, Relay, replication, sentinels, clustering and WP-CLI.
6-
* Version: 2.6.5
6+
* Version: 2.7.0
77
* Text Domain: redis-cache
88
* Domain Path: /languages
99
* Network: true

0 commit comments

Comments
 (0)