From e0af7ac7335fefcb8754cf35417b52bd55f2bb3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Till=20Kru=CC=88ss?= Date: Thu, 28 Apr 2016 21:39:41 -0700 Subject: [PATCH] Fixed variable name --- CHANGELOG.md | 5 +++++ includes/object-cache.php | 4 ++-- readme.txt | 10 +++++++++- redis-cache.php | 2 +- 4 files changed, 17 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ab91e8f3..f926acd6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 1.3.1 + +* Fixed connection issue + + ## 1.3 * New admin interface diff --git a/includes/object-cache.php b/includes/object-cache.php index f08e7cf5..e0e283cc 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 HHVM's Redis extension, the PECL Redis Extension and the Predis library for PHP. -Version: 1.3 +Version: 1.3.1 Author: Till Krüss Author URI: http://till.kruss.me/ License: GPLv3 @@ -336,7 +336,7 @@ public function __construct() { foreach ( [ 'scheme', 'host', 'port', 'path', 'password', 'database' ] as $setting ) { $constant = sprintf( 'WP_REDIS_%s', strtoupper( $setting ) ); if ( defined( $constant ) ) { - $server[ $setting ] = constant( $constant ); + $parameters[ $setting ] = constant( $constant ); } } diff --git a/readme.txt b/readme.txt index 167b3255..1decfc4e 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.5 -Stable tag: 1.3 +Stable tag: 1.3.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -109,6 +109,10 @@ __Clustering via Client-side Sharding Example:__ == Changelog == += 1.3.1 = + + * Fixed connection issue + = 1.3 = * New admin interface @@ -178,6 +182,10 @@ __Clustering via Client-side Sharding Example:__ == Upgrade Notice == += 1.3.1 = + +This update includes a critical connection issue fix. + = 1.3 = This update includes a new admin interface and support for clustering and replication with Predis. diff --git a/redis-cache.php b/redis-cache.php index 7c296f10..b40636be 100644 --- a/redis-cache.php +++ b/redis-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 and clustering. -Version: 1.3 +Version: 1.3.1 Text Domain: redis-cache Domain Path: /languages Author: Till Krüss