Changeset 2446015
- Timestamp:
- 12/25/2020 09:47:49 PM (5 years ago)
- Location:
- remote-cache-purger/trunk
- Files:
-
- 4 edited
-
changelog.txt (modified) (2 diffs)
-
includes/queue.php (modified) (4 diffs)
-
readme.txt (modified) (1 diff)
-
remote-cache-purger.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
remote-cache-purger/trunk/changelog.txt
r2446002 r2446015 1 <<<<<<< .mine 2 ## CHANGELOG 3 4 = 1.0.4 - 2020/12 = 5 6 * FIX: HTTP method - show response 7 8 = 1.0.3 - 2020/12 = 9 10 * ADDED: truncate admin notice 11 * ADDED: additional domains 12 * ADDED: enable/disable purge 13 * ADDED: Response Count Header 14 * UPDATE: Only if Response Count Header is set, number of purged items will be shown 15 * FIX: Add query to url 16 17 = 1.0.2 - 2020/12 = 18 19 * Debug 20 21 = 1.0.1 - 2020/12 = 22 23 * Cleaning Up 24 * Added Ajax requests 25 * Added logging to Wordpress error log 26 27 = 1.0.0 - 2020/12 = 28 29 * Init 30 ||||||| .r0 31 ======= 1 32 ## CHANGELOG 2 33 … … 24 55 25 56 * Init 57 >>>>>>> .r2446011 -
remote-cache-purger/trunk/includes/queue.php
r2446002 r2446015 103 103 104 104 $requests[$array_key]['url'] = $parsedUrl['url']; 105 $requests[$array_key]['method'] = 'GET'; 105 106 106 107 $this->responses[$array_key] = array( … … 113 114 114 115 if ($this->plugin->optUsePurgeMethod) { 115 curl_setopt($handle, CURLOPT_CUSTOMREQUEST, "PURGE"); 116 $requests[$array_key]['method'] = 'PURGE'; 117 curl_setopt($handle, CURLOPT_CUSTOMREQUEST, "PURGE"); 116 118 } 117 119 … … 147 149 else { 148 150 foreach($this->responses as $key => $response) { 149 $this->plugin->noticeMessage .= $ this->optUsePurgeMethod ? 'PURGE:' : 'GET';151 $this->plugin->noticeMessage .= $requests[$key]['method']; 150 152 151 153 if(isset($response['headers'][$this->plugin->optResponseCountHeader] )) { … … 262 264 private function userAgent() 263 265 { 264 return '1.0. 3';266 return '1.0.4'; 265 267 } 266 268 } -
remote-cache-purger/trunk/readme.txt
r2446002 r2446015 4 4 Requires at least: 4.7 5 5 Tested up to: 5.6 6 Stable tag: 1.0. 16 Stable tag: 1.0.4 7 7 Requires PHP: 5.6 8 8 License: GPLv2 or later -
remote-cache-purger/trunk/remote-cache-purger.php
r2446002 r2446015 5 5 * Author: Myros 6 6 * Author URI: https://www.myros.net/ 7 * Version: 1.0. 37 * Version: 1.0.4 8 8 9 9 * License: http://www.apache.org/licenses/LICENSE-2.0
Note: See TracChangeset
for help on using the changeset viewer.