Changeset 2630469
- Timestamp:
- 11/16/2021 05:35:32 AM (4 years ago)
- Location:
- purge-varnish/trunk
- Files:
-
- 2 edited
-
class_purge_varnish.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
purge-varnish/trunk/class_purge_varnish.php
r2429177 r2630469 5 5 Description: This plugin provides integration between your wordpress site and Varnish Cache to purge cache objects automate/manaully. 6 6 as per configurations or allow to purge specific URLs. 7 Version: 2. 47 Version: 2.5 8 8 Author: Dsingh <[email protected]> 9 9 Author URI: https://profiles.wordpress.org/devavi … … 289 289 function purge_varnish_get_command($url, $flag = NULL) { 290 290 $parse_url = $this->purge_varnish_parse_url($url); 291 $host = $parse_url['host'];292 $path = $parse_url['path'];291 $host = isset($parse_url['host']) ? $parse_url['host'] : ''; 292 $path = isset($parse_url['path']) ? $parse_url['path'] : ''; 293 293 $command = "ban req.http.host == \"$host\" && req.url ~ \"^$path$\""; 294 294 if ($flag == 'front') { -
purge-varnish/trunk/readme.txt
r2429177 r2630469 4 4 Tags: varnish, purge, cache, caching, flush, plugin, wp-cache, performance, fast, automatic 5 5 Requires at least: 4.0 6 Tested up to: 5. 5.37 Stable tag: 1.1. 16 Tested up to: 5.8.2 7 Stable tag: 1.1.2 8 8 License: GPLv2 or later 9 9
Note: See TracChangeset
for help on using the changeset viewer.