Plugin Directory

Changeset 3180208


Ignore:
Timestamp:
11/02/2024 12:01:28 AM (17 months ago)
Author:
blizhost
Message:

Upload version 5.0.0

Location:
blizhost-cache-purge/tags
Files:
17 added
1 edited

Legend:

Unmodified
Added
Removed
  • blizhost-cache-purge/tags/4.0.6/wp-cli.php

    r3162910 r3180208  
    4747        // If wildcard is set, or the URL argument is empty
    4848        // then treat this as a full purge
    49         $pregex = $wild = '';
     49        $wild = '';
    5050        if ( isset( $assoc_args['wildcard'] ) || empty($url) ) {
    51             $pregex = '/?bliz-regex';
    5251            $wild = ".*";
    5352        }
     
    7069        }
    7170
    72         $this->ccache_purge->purgeUrl( $url.$pregex );
     71        $this->ccache_purge->purgeUrl( $url.$wild );
    7372
    7473        WP_CLI::success( 'The CloudCache was purged.' );
Note: See TracChangeset for help on using the changeset viewer.