Changeset 2156198
- Timestamp:
- 09/13/2019 03:18:32 PM (6 years ago)
- File:
-
- 1 edited
-
runcache-purger/trunk/runcache-purger.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
runcache-purger/trunk/runcache-purger.php
r2156157 r2156198 5 5 * Plugin URI: https://wordpress.org/plugins/runcache-purger/ 6 6 * Description: This plugin will purge RunCloud.io NGINX fastcgi, Proxy Cache and Redis Object Cache. 7 * Version: 1. 5.07 * Version: 1.6.0 8 8 * Author: RunCloud 9 9 * Author URI: https://profiles.wordpress.org/runcloud/ … … 64 64 65 65 // version 66 private static $version = '1. 5.0';67 private static $version_prev = '1. 4.0';66 private static $version = '1.6.0'; 67 private static $version_prev = '1.5.0'; 68 68 69 69 // later … … 1033 1033 1034 1034 $type = (!empty($type) ? $type : self::request_purge_type()); 1035 $request_query = 'http://127.0.0.1/runcache-purgeall-' . $type; 1035 1036 $proto = ( is_ssl() ? 'https' : 'http' ); 1037 $request_query = $proto.'://127.0.0.1/runcache-purgeall-' . $type; 1036 1038 return self::remote_request($request_query, ['method' => 'PURGE']); 1037 1039 }
Note: See TracChangeset
for help on using the changeset viewer.