Changeset 2167637
- Timestamp:
- 10/03/2019 01:20:05 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
r2159577 r2167637 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.11. 07 * Version: 1.11.1 8 8 * Author: RunCloud 9 9 * Author URI: https://runcloud.io/ … … 64 64 65 65 // version 66 private static $version = '1.11. 0';67 private static $version_prev = '1.1 0.0';66 private static $version = '1.11.1'; 67 private static $version_prev = '1.11.0'; 68 68 69 69 // later … … 866 866 add_action('http_api_curl', function ($handle, $r, $url) { 867 867 868 $myhost = parse_url(get_site_url(), PHP_URL_HOST); 869 868 870 $url_host = parse_url($url, PHP_URL_HOST); 869 871 $url_scheme = parse_url($url, PHP_URL_SCHEME); 870 872 $url_port = parse_url($url, PHP_URL_PORT); 873 874 // 03102019 875 if ( $myhost !== $url_host ) { 876 return; 877 } 871 878 872 879 $port = 80;
Note: See TracChangeset
for help on using the changeset viewer.