Plugin Directory

Changeset 2988654


Ignore:
Timestamp:
11/03/2023 06:06:24 PM (2 years ago)
Author:
cynderhost
Message:

v2.0.2

Location:
cynderhost/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cynderhost/trunk/README.txt

    r2988398 r2988654  
    3232
    3333== Changelog ==
     34
     35= 2.0.3 =
     36* Fix prompting bug
    3437
    3538= 2.0.2 =
  • cynderhost/trunk/cynderhost.php

    r2988398 r2988654  
    99 * Plugin URI:        https://cynderhost.com
    1010 * Description:       Provides an easy interface to clear the CynderHost CDN cache, both automatically and programmatically.
    11  * Version:           2.0.2
     11 * Version:           2.0.3
    1212 * Author:            CynderHost
    1313 * Author URI:        https://profiles.wordpress.org/cynderhost/
     
    2424
    2525//Define version
    26 define('CYNDERHOST_VERSION', '2.0.2');
     26define('CYNDERHOST_VERSION', '2.0.3');
    2727
    2828
     
    496496 */
    497497function prompt_option_save($name){
    498 //  if (strpos($name, "_last_") === false && strpos($name, "cron") === false && strpos($name, "transient") === false && strpos($name, "notice") === false && strpos($name, "message") === false && strpos($name, "_lock") === false) {
    499     if (strpos($name, "option") !== false || strpos($name, "setting") !== false || strpos($name, "woocommerce_") !== false || strpos($name, "wpseo") !== false){
     498    if (strpos($name, "option") !== false || strpos($name, "setting") !== false || strpos($name, "woocommerce_") === 0 || strpos($name, "wpseo") !== false){
    500499        $url = add_query_arg("cynderhost_purgecache", "true");
    501500        $url = add_query_arg("nonce", wp_create_nonce('cynderhost_purgecache') , $url);
     
    503502    }
    504503}
     504
    505505
    506506/**
Note: See TracChangeset for help on using the changeset viewer.