Plugin Directory

Changeset 3106098


Ignore:
Timestamp:
06/22/2024 08:45:00 PM (21 months ago)
Author:
tmmtechnology
Message:

Plugin update: Fix object cache bug

Location:
cache-warmer
Files:
4 edited
38 copied

Legend:

Unmodified
Added
Removed
  • cache-warmer/tags/1.2.5/cache-warmer.php

    r3106082 r3106098  
    33 * Plugin Name: Cache Warmer
    44 * Description: Visits website pages to warm (create) the cache if you have any caching solutions configured.
    5  * Version:     1.2.4
     5 * Version:     1.2.5
    66 * Text Domain: cache-warmer
    77 * Author:      TMM Technology
  • cache-warmer/tags/1.2.5/readme.txt

    r3106082 r3106098  
    33Tags: cache, warming, cloudflare, redis, object cache
    44Tested up to: 6.5.4
    5 Stable tag: 1.2.4
     5Stable tag: 1.2.5
    66Requires PHP: 7.4
    77License: GPLv3
     
    5050== Changelog ==
    5151
     52= 1.2.5 2024-06-23 =
     53
     54#### Bugfixes
     55
     56* Fix stuck object cache bug.
     57
    5258= 1.2.4 2024-06-23 =
    5359
  • cache-warmer/tags/1.2.5/src/class-object-cache.php

    r2865665 r3106098  
    2222     */
    2323    public static function use_object_cache() {
    24         wp_cache_set( 'use-object-cache', Cache_Warmer::$options->get( 'setting-use-object-cache' ), Cache_Warmer::$slug );
    25         return wp_using_ext_object_cache() && wp_cache_get( 'use-object-cache', Cache_Warmer::$slug );
     24        return '1' === Cache_Warmer::$options->get( 'setting-use-object-cache' );
    2625    }
    2726}
  • cache-warmer/trunk/cache-warmer.php

    r3106082 r3106098  
    33 * Plugin Name: Cache Warmer
    44 * Description: Visits website pages to warm (create) the cache if you have any caching solutions configured.
    5  * Version:     1.2.4
     5 * Version:     1.2.5
    66 * Text Domain: cache-warmer
    77 * Author:      TMM Technology
  • cache-warmer/trunk/readme.txt

    r3106082 r3106098  
    33Tags: cache, warming, cloudflare, redis, object cache
    44Tested up to: 6.5.4
    5 Stable tag: 1.2.4
     5Stable tag: 1.2.5
    66Requires PHP: 7.4
    77License: GPLv3
     
    5050== Changelog ==
    5151
     52= 1.2.5 2024-06-23 =
     53
     54#### Bugfixes
     55
     56* Fix stuck object cache bug.
     57
    5258= 1.2.4 2024-06-23 =
    5359
  • cache-warmer/trunk/src/class-object-cache.php

    r2865665 r3106098  
    2222     */
    2323    public static function use_object_cache() {
    24         wp_cache_set( 'use-object-cache', Cache_Warmer::$options->get( 'setting-use-object-cache' ), Cache_Warmer::$slug );
    25         return wp_using_ext_object_cache() && wp_cache_get( 'use-object-cache', Cache_Warmer::$slug );
     24        return '1' === Cache_Warmer::$options->get( 'setting-use-object-cache' );
    2625    }
    2726}
Note: See TracChangeset for help on using the changeset viewer.