Changeset 2446326
- Timestamp:
- 12/27/2020 03:41:26 AM (5 years ago)
- Location:
- remote-cache-purger/trunk
- Files:
-
- 3 edited
-
changelog.txt (modified) (1 diff)
-
includes/queue.php (modified) (2 diffs)
-
remote-cache-purger.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
remote-cache-purger/trunk/changelog.txt
r2446325 r2446326 1 1 ## CHANGELOG 2 3 = 1.0.4.4 - 2020/12 = 4 * FIX: Display number of purged files 2 5 3 6 = 1.0.4.3 - 2020/12 = -
remote-cache-purger/trunk/includes/queue.php
r2446325 r2446326 149 149 else { 150 150 foreach($this->responses as $key => $response) { 151 151 152 $headerPresent = isset($response['headers'][$this->plugin->optResponseCountHeader]); 152 $isCleared = isset($headerPresent) && $headerPresent > 0; 153 154 if ($headerPresent) { 155 $purgedCount = $response['headers'][$this->plugin->optResponseCountHeader]; 156 } 157 $isCleared = $headerPresent && isset($purgedCount) && $purgedCount > 0; 153 158 154 159 if($isCleared) { … … 276 281 private function userAgent() 277 282 { 278 return $this->userAgent . "1.0.4. 3";283 return $this->userAgent . "1.0.4.4"; 279 284 } 280 285 } -
remote-cache-purger/trunk/remote-cache-purger.php
r2446325 r2446326 5 5 * Author: Myros 6 6 * Author URI: https://www.myros.net/ 7 * Version: 1.0.4. 37 * Version: 1.0.4.4 8 8 9 9 * License: http://www.apache.org/licenses/LICENSE-2.0
Note: See TracChangeset
for help on using the changeset viewer.