Skip to content

Commit

Permalink
Fixed variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkruss committed Apr 29, 2016
1 parent 25491a2 commit e0af7ac
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.3.1

* Fixed connection issue


## 1.3

* New admin interface
Expand Down
4 changes: 2 additions & 2 deletions includes/object-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 );
}
}

Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -109,6 +109,10 @@ __Clustering via Client-side Sharding Example:__

== Changelog ==

= 1.3.1 =

* Fixed connection issue

= 1.3 =

* New admin interface
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion redis-cache.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0af7ac

Please sign in to comment.