Changeset 3368295
- Timestamp:
- 09/26/2025 07:39:39 AM (3 months ago)
- Location:
- boxzilla
- Files:
-
- 10 edited
- 1 copied
-
tags/3.4.5 (copied) (copied from boxzilla/trunk)
-
tags/3.4.5/CHANGELOG.md (modified) (1 diff)
-
tags/3.4.5/boxzilla.php (modified) (2 diffs)
-
tags/3.4.5/readme.txt (modified) (2 diffs)
-
tags/3.4.5/src/licensing/class-license.php (modified) (1 diff)
-
tags/3.4.5/src/licensing/class-update-manager.php (modified) (2 diffs)
-
trunk/CHANGELOG.md (modified) (1 diff)
-
trunk/boxzilla.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/src/licensing/class-license.php (modified) (1 diff)
-
trunk/src/licensing/class-update-manager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
boxzilla/tags/3.4.5/CHANGELOG.md
r3340845 r3368295 1 1 Changelog 2 2 ========== 3 4 ### 3.4.5 - Sep 25, 2025 5 6 - Mark option as autoloaded for a minor performance gain. 7 - Replace `strtotime('now')` with simpler `time()` 8 3 9 4 10 #### 3.4.4 - Aug 07, 2025 -
boxzilla/tags/3.4.5/boxzilla.php
r3340845 r3368295 3 3 /* 4 4 Plugin Name: Boxzilla 5 Version: 3.4. 45 Version: 3.4.5 6 6 Plugin URI: https://www.boxzillaplugin.com/ 7 7 Description: Call-To-Action Boxes that display after visitors scroll down far enough. Unobtrusive, but highly conversing! … … 39 39 define('BOXZILLA_FILE', __FILE__); 40 40 define('BOXZILLA_DIR', __DIR__); 41 define('BOXZILLA_VERSION', '3.4. 4');41 define('BOXZILLA_VERSION', '3.4.5'); 42 42 43 43 require __DIR__ . '/autoload.php'; -
boxzilla/tags/3.4.5/readme.txt
r3340845 r3368295 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8 7 Stable tag: 3.4. 47 Stable tag: 3.4.5 8 8 License: GPL-3.0-or-later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 130 130 131 131 132 ### 3.4.5 - Sep 25, 2025 133 134 - Mark option as autoloaded for a minor performance gain. 135 - Replace `strtotime('now')` with simpler `time()` 136 137 132 138 #### 3.4.4 - Aug 07, 2025 133 139 -
boxzilla/tags/3.4.5/src/licensing/class-license.php
r3260627 r3368295 119 119 } 120 120 121 update_option($this->option_key, $this->data );121 update_option($this->option_key, $this->data, true); 122 122 $this->dirty = false; 123 123 } -
boxzilla/tags/3.4.5/src/licensing/class-update-manager.php
r3260627 r3368295 150 150 // don't try if we failed a request recently. 151 151 $failed_at = get_transient('boxzilla_request_failed'); 152 if (! empty($failed_at) && ( ( strtotime('now') - 300 ) < $failed_at )) {152 if (! empty($failed_at) && ( ( time() - 300 ) < $failed_at )) { 153 153 return []; 154 154 } … … 159 159 } catch (API_Exception $e) { 160 160 // set flag for 5 minutes 161 set_transient('boxzilla_request_failed', strtotime('now'), 300);161 set_transient('boxzilla_request_failed', time(), 300); 162 162 return []; 163 163 } -
boxzilla/trunk/CHANGELOG.md
r3340845 r3368295 1 1 Changelog 2 2 ========== 3 4 ### 3.4.5 - Sep 25, 2025 5 6 - Mark option as autoloaded for a minor performance gain. 7 - Replace `strtotime('now')` with simpler `time()` 8 3 9 4 10 #### 3.4.4 - Aug 07, 2025 -
boxzilla/trunk/boxzilla.php
r3340845 r3368295 3 3 /* 4 4 Plugin Name: Boxzilla 5 Version: 3.4. 45 Version: 3.4.5 6 6 Plugin URI: https://www.boxzillaplugin.com/ 7 7 Description: Call-To-Action Boxes that display after visitors scroll down far enough. Unobtrusive, but highly conversing! … … 39 39 define('BOXZILLA_FILE', __FILE__); 40 40 define('BOXZILLA_DIR', __DIR__); 41 define('BOXZILLA_VERSION', '3.4. 4');41 define('BOXZILLA_VERSION', '3.4.5'); 42 42 43 43 require __DIR__ . '/autoload.php'; -
boxzilla/trunk/readme.txt
r3340845 r3368295 5 5 Requires at least: 4.6 6 6 Tested up to: 6.8 7 Stable tag: 3.4. 47 Stable tag: 3.4.5 8 8 License: GPL-3.0-or-later 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 130 130 131 131 132 ### 3.4.5 - Sep 25, 2025 133 134 - Mark option as autoloaded for a minor performance gain. 135 - Replace `strtotime('now')` with simpler `time()` 136 137 132 138 #### 3.4.4 - Aug 07, 2025 133 139 -
boxzilla/trunk/src/licensing/class-license.php
r3260627 r3368295 119 119 } 120 120 121 update_option($this->option_key, $this->data );121 update_option($this->option_key, $this->data, true); 122 122 $this->dirty = false; 123 123 } -
boxzilla/trunk/src/licensing/class-update-manager.php
r3260627 r3368295 150 150 // don't try if we failed a request recently. 151 151 $failed_at = get_transient('boxzilla_request_failed'); 152 if (! empty($failed_at) && ( ( strtotime('now') - 300 ) < $failed_at )) {152 if (! empty($failed_at) && ( ( time() - 300 ) < $failed_at )) { 153 153 return []; 154 154 } … … 159 159 } catch (API_Exception $e) { 160 160 // set flag for 5 minutes 161 set_transient('boxzilla_request_failed', strtotime('now'), 300);161 set_transient('boxzilla_request_failed', time(), 300); 162 162 return []; 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.