Plugin Directory

Changeset 3371194


Ignore:
Timestamp:
10/01/2025 03:13:06 PM (5 months ago)
Author:
spinupwp
Message:

Preparing for 1.9.0 release

Location:
spinupwp/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • spinupwp/trunk/drop-ins/object-cache.php

    r3293356 r3371194  
    44Plugin URI: http://wordpress.org/plugins/spinupwp/
    55Description: A persistent object cache backend powered by Redis. Supports Predis, PhpRedis, HHVM, replication, clustering and WP-CLI.
    6 Version: 1.8.0
     6Version: 1.9.0
    77Author: SpinupWP
    88Author URI: https://spinupwp.com/
     
    235235    if ( ! defined( 'WP_REDIS_PREFIX' ) ) {
    236236        define( 'WP_REDIS_PREFIX', get_cache_key_salt());
    237     }
    238 
    239     if ( ! defined( 'WP_REDIS_SELECTIVE_FLUSH' ) ) {
    240         define( 'WP_REDIS_SELECTIVE_FLUSH', true );
    241237    }
    242238
     
    634630            'host' => '127.0.0.1',
    635631            'port' => 6379,
    636             'database' => getenv('SPINUPWP_CACHE_DB') ?? 0,
     632            'database' => (int) getenv('SPINUPWP_REDIS_DB') ?? 0,
    637633            'timeout' => 5,
    638634            'read_timeout' => 5,
     
    653649        ];
    654650
    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' )];
    658653        }
    659654
     
    741736
    742737            if ( isset( $parameters['password'] ) ) {
    743 
    744738                $args['password'] = $parameters['password'];
    745 
    746739                $this->redis->auth( $parameters['password'] );
    747740            }
  • spinupwp/trunk/readme.txt

    r3293356 r3371194  
    55Tested up to: 6.8
    66Requires PHP: 7.1
    7 Stable tag: 1.8.0
     7Stable tag: 1.9.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
     
    8686
    8787== 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.
    8891
    8992= 1.8.0 (2025-05-13) =
  • spinupwp/trunk/spinupwp.php

    r3293356 r3371194  
    55Description:  SpinupWP helper plugin.
    66Author:       SpinupWP
    7 Version:      1.8.0
     7Version:      1.9.0
    88Network:      True
    99Text Domain:  spinupwp
  • spinupwp/trunk/vendor/composer/platform_check.php

    r2468101 r3371194  
    2020        }
    2121    }
    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)
    2524    );
    2625}
Note: See TracChangeset for help on using the changeset viewer.