diff --git a/includes/object-cache.php b/includes/object-cache.php index 791f3754..453ac718 100644 --- a/includes/object-cache.php +++ b/includes/object-cache.php @@ -3,7 +3,7 @@ Plugin Name: Redis Object Cache Plugin URI: http://wordpress.org/plugins/redis-cache/ Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, HHVM, replication, clustering and WP-CLI. -Version: 1.3.3 +Version: 1.3.4 Author: Till Krüss Author URI: https://till.im/ License: GPLv3 diff --git a/languages/redis-cache.pot b/languages/redis-cache.pot index 4303ae9b..f086326a 100644 --- a/languages/redis-cache.pot +++ b/languages/redis-cache.pot @@ -2,9 +2,9 @@ # This file is distributed under the same license as the Redis Object Cache package. msgid "" msgstr "" -"Project-Id-Version: Redis Object Cache 1.3.3\n" +"Project-Id-Version: Redis Object Cache 1.3.4\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/redis-cache\n" -"POT-Creation-Date: 2016-08-22 17:35:09+00:00\n" +"POT-Creation-Date: 2016-09-21 22:54:28+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -12,9 +12,9 @@ msgstr "" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -#. #-#-#-#-# plugin.pot (Redis Object Cache 1.3.3) #-#-#-#-# +#. #-#-#-#-# plugin.pot (Redis Object Cache 1.3.4) #-#-#-#-# #. Plugin Name of the plugin/theme -#: includes/admin-page.php:6 redis-cache.php:50 +#: includes/admin-page.php:6 redis-cache.php:58 msgid "Redis Object Cache" msgstr "" @@ -58,80 +58,98 @@ msgstr "" msgid "Server" msgstr "" -#: includes/servers-list.php:78 +#: includes/servers-list.php:77 msgid "Yes" msgstr "" -#: includes/servers-list.php:78 +#: includes/servers-list.php:77 msgid "No" msgstr "" -#: redis-cache.php:51 -msgid "Redis" -msgstr "" - -#: redis-cache.php:141 +#: includes/wp-cli-commands.php:23 redis-cache.php:149 msgid "Disabled" msgstr "" -#: redis-cache.php:146 +#: includes/wp-cli-commands.php:26 redis-cache.php:154 msgid "Connected" msgstr "" -#: redis-cache.php:150 +#: includes/wp-cli-commands.php:29 redis-cache.php:158 msgid "Not Connected" msgstr "" -#: redis-cache.php:154 -msgid "Unknown" -msgstr "" - -#: redis-cache.php:211 -msgid "" -"The Redis object cache drop-in is outdated. Please update it " -"now." +#: includes/wp-cli-commands.php:62 +msgid "Redis object cache already enabled." msgstr "" -#: redis-cache.php:216 +#: includes/wp-cli-commands.php:64 includes/wp-cli-commands.php:106 msgid "" -"Another object cache drop-in was found. To use Redis, please " -"replace it now." +"An unknown object cache drop-in was found. To use Redis run: wp redis update-" +"dropin." msgstr "" -#: redis-cache.php:232 -msgid "This plugin requires PHP 5.4 or greater." -msgstr "" - -#: redis-cache.php:241 +#: includes/wp-cli-commands.php:72 redis-cache.php:249 msgid "Object Cache enabled." msgstr "" -#: redis-cache.php:244 +#: includes/wp-cli-commands.php:74 redis-cache.php:252 msgid "Object Cache could not be enabled." msgstr "" -#: redis-cache.php:247 +#: includes/wp-cli-commands.php:100 +msgid "No object cache drop-in found." +msgstr "" + +#: includes/wp-cli-commands.php:113 redis-cache.php:255 msgid "Object Cache disabled." msgstr "" -#: redis-cache.php:250 +#: includes/wp-cli-commands.php:115 redis-cache.php:258 msgid "Object Cache could not be disabled." msgstr "" -#: redis-cache.php:253 -msgid "Object Cache flushed." +#: includes/wp-cli-commands.php:142 redis-cache.php:267 +msgid "Updated object cache drop-in and enabled Redis object cache." msgstr "" -#: redis-cache.php:256 -msgid "Object Cache could not be flushed." +#: includes/wp-cli-commands.php:144 +msgid "Object Cache drop-in could not be updated." +msgstr "" + +#: redis-cache.php:59 +msgid "Redis" msgstr "" -#: redis-cache.php:259 -msgid "Drop-in updated." +#: redis-cache.php:162 +msgid "Unknown" +msgstr "" + +#: redis-cache.php:219 +msgid "" +"The Redis object cache drop-in is outdated. Please update it " +"now." +msgstr "" + +#: redis-cache.php:224 +msgid "" +"An unknown object cache drop-in was found. To use Redis, please replace it now." +msgstr "" + +#: redis-cache.php:240 +msgid "This plugin requires PHP 5.4 or greater." +msgstr "" + +#: redis-cache.php:261 +msgid "Object Cache flushed." +msgstr "" + +#: redis-cache.php:264 +msgid "Object Cache could not be flushed." msgstr "" -#: redis-cache.php:262 -msgid "Drop-in could not be updated." +#: redis-cache.php:270 +msgid "Object cache drop-in could not be updated." msgstr "" #. Plugin URI of the plugin/theme @@ -141,7 +159,7 @@ msgstr "" #. Description of the plugin/theme msgid "" "A persistent object cache backend powered by Redis. Supports Predis, " -"PhpRedis, HHVM, replication and clustering." +"PhpRedis, HHVM, replication, clustering and WP-CLI." msgstr "" #. Author of the plugin/theme diff --git a/readme.txt b/readme.txt index a5bf2a93..1d7e8083 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://www.paypal.me/tillkruss Tags: redis, predis, hhvm, pecl, caching, cache, object cache, wp object cache, server, performance, optimize, speed, load, replication, clustering Requires at least: 3.3 Tested up to: 4.6 -Stable tag: 1.3.3 +Stable tag: 1.3.4 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -146,6 +146,13 @@ The following commands are supported: == Changelog == += 1.3.4 = + + * Added WP-CLI support + * Show host and port unless scheme is unix + * Updated default global and ignored groups + * Do a cache flush when activating, deactivating and uninstalling + = 1.3.3 = * Updated Predis to `v1.1.1` diff --git a/redis-cache.php b/redis-cache.php index f615aeaf..99388ae7 100644 --- a/redis-cache.php +++ b/redis-cache.php @@ -3,7 +3,7 @@ Plugin Name: Redis Object Cache Plugin URI: https://wordpress.org/plugins/redis-cache/ Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, HHVM, replication, clustering and WP-CLI. -Version: 1.3.3 +Version: 1.3.4 Text Domain: redis-cache Domain Path: /languages Author: Till Krüss