Changeset 3371194
- Timestamp:
- 10/01/2025 03:13:06 PM (5 months ago)
- Location:
- spinupwp/trunk
- Files:
-
- 4 edited
-
drop-ins/object-cache.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
spinupwp.php (modified) (1 diff)
-
vendor/composer/platform_check.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spinupwp/trunk/drop-ins/object-cache.php
r3293356 r3371194 4 4 Plugin URI: http://wordpress.org/plugins/spinupwp/ 5 5 Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, HHVM, replication, clustering and WP-CLI. 6 Version: 1. 8.06 Version: 1.9.0 7 7 Author: SpinupWP 8 8 Author URI: https://spinupwp.com/ … … 235 235 if ( ! defined( 'WP_REDIS_PREFIX' ) ) { 236 236 define( 'WP_REDIS_PREFIX', get_cache_key_salt()); 237 }238 239 if ( ! defined( 'WP_REDIS_SELECTIVE_FLUSH' ) ) {240 define( 'WP_REDIS_SELECTIVE_FLUSH', true );241 237 } 242 238 … … 634 630 'host' => '127.0.0.1', 635 631 'port' => 6379, 636 'database' => getenv('SPINUPWP_CACHE_DB') ?? 0,632 'database' => (int) getenv('SPINUPWP_REDIS_DB') ?? 0, 637 633 'timeout' => 5, 638 634 'read_timeout' => 5, … … 653 649 ]; 654 650 655 656 if ( getenv( 'SPINUPWP_CACHE_USERNAME' ) && getenv( 'SPINUPWP_CACHE_PASSWORD' ) ) { 657 $parameters['password'] = [getenv( 'SPINUPWP_CACHE_USERNAME' ), getenv( 'SPINUPWP_CACHE_PASSWORD' )]; 651 if ( getenv( 'SPINUPWP_REDIS_USERNAME' ) && getenv( 'SPINUPWP_REDIS_PASSWORD' ) ) { 652 $parameters['password'] = [getenv( 'SPINUPWP_REDIS_USERNAME' ), getenv( 'SPINUPWP_REDIS_PASSWORD' )]; 658 653 } 659 654 … … 741 736 742 737 if ( isset( $parameters['password'] ) ) { 743 744 738 $args['password'] = $parameters['password']; 745 746 739 $this->redis->auth( $parameters['password'] ); 747 740 } -
spinupwp/trunk/readme.txt
r3293356 r3371194 5 5 Tested up to: 6.8 6 6 Requires PHP: 7.1 7 Stable tag: 1. 8.07 Stable tag: 1.9.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 86 86 87 87 == Changelog == 88 = 1.9.0 (2025-08-22) = 89 * Change: Use SPINUPWP_REDIS_* variables instead of SPINUPWP_CACHE_* 90 * Change: No longer enabling WP_REDIS_SELECTIVE_FLUSH by default as it can result in timeouts when flushing the cache. 88 91 89 92 = 1.8.0 (2025-05-13) = -
spinupwp/trunk/spinupwp.php
r3293356 r3371194 5 5 Description: SpinupWP helper plugin. 6 6 Author: SpinupWP 7 Version: 1. 8.07 Version: 1.9.0 8 8 Network: True 9 9 Text Domain: spinupwp -
spinupwp/trunk/vendor/composer/platform_check.php
r2468101 r3371194 20 20 } 21 21 } 22 trigger_error( 23 'Composer detected issues in your platform: ' . implode(' ', $issues), 24 E_USER_ERROR 22 throw new \RuntimeException( 23 'Composer detected issues in your platform: ' . implode(' ', $issues) 25 24 ); 26 25 }
Note: See TracChangeset
for help on using the changeset viewer.