Changeset 2907747
- Timestamp:
- 05/04/2023 12:02:18 AM (3 years ago)
- Location:
- hyper-pwa/trunk
- Files:
-
- 6 added
- 1 deleted
- 5 edited
-
admin/admin.php (modified) (1 diff)
-
cfg/cfg.php (modified) (1 diff)
-
hyper-pwa.php (modified) (2 diffs)
-
lib/retrieve.php (modified) (1 diff)
-
pwa (deleted)
-
readme.txt (modified) (2 diffs)
-
sw (added)
-
sw/manifest.php (added)
-
sw/offline.php (added)
-
sw/register.php (added)
-
sw/service-worker.php (added)
-
sw/unregister.php (added)
Legend:
- Unmodified
- Added
- Removed
-
hyper-pwa/trunk/admin/admin.php
r2905921 r2907747 630 630 if ( !empty( $_GET['settings-updated'] ) ) 631 631 { 632 update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now ); 633 632 634 $this->retrieve->reset_transient(); 633 634 update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );635 635 636 636 -
hyper-pwa/trunk/cfg/cfg.php
r2906406 r2907747 5 5 } 6 6 7 define( 'HYPER_PWA_VERSION', '2.3 0.0' );7 define( 'HYPER_PWA_VERSION', '2.31.0' ); 8 8 define( 'HYPER_PWA_VERSION_ID', 'hyper-pwa-version-id' ); 9 9 -
hyper-pwa/trunk/hyper-pwa.php
r2906406 r2907747 4 4 Plugin URI: https://github.com/rickey29/hyper-pwa 5 5 Description: Provide custom Manifest and Service Worker, convert WordPress into Progressive Web Apps (PWA). 6 Version: 2.3 0.06 Version: 2.31.0 7 7 Author: Rickey Gu 8 8 Author URI: https://flexplat.com … … 194 194 if ( HYPER_PWA_VERSION !== $version ) 195 195 { 196 $this->retrieve->reset_transient();197 198 196 update_option( HYPER_PWA_VERSION_ID, HYPER_PWA_VERSION ); 199 197 update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now ); 198 199 $this->retrieve->reset_transient(); 200 200 } 201 201 elseif ( HYPER_PWA_TRANSIENT_SCHEDULE_RECURRENCE <= $this->time_now - $transient_timestamp ) 202 202 { 203 update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now ); 204 203 205 $this->retrieve->reset_transient(); 204 205 update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );206 206 } 207 207 208 208 if ( HYPER_PWA_PAGE_VIEW_SCHEDULE_RECURRENCE <= $this->time_now - $page_view_timestamp ) 209 209 { 210 update_option( HYPER_PWA_PAGE_VIEW_TIMESTAMP, $this->time_now ); 211 210 212 $this->lib->save_page_view(); 211 212 update_option( HYPER_PWA_PAGE_VIEW_TIMESTAMP, $this->time_now );213 213 } 214 214 -
hyper-pwa/trunk/lib/retrieve.php
r2906198 r2907747 7 7 require_once HYPER_PWA_PATH . 'cfg/cfg.php'; 8 8 require_once HYPER_PWA_PATH . 'flx/flx.php'; 9 require_once HYPER_PWA_PATH . ' pwa/register.php';10 require_once HYPER_PWA_PATH . ' pwa/service-worker.php';11 require_once HYPER_PWA_PATH . ' pwa/manifest.php';12 require_once HYPER_PWA_PATH . ' pwa/unregister.php';13 require_once HYPER_PWA_PATH . ' pwa/offline.php';9 require_once HYPER_PWA_PATH . 'sw/register.php'; 10 require_once HYPER_PWA_PATH . 'sw/service-worker.php'; 11 require_once HYPER_PWA_PATH . 'sw/manifest.php'; 12 require_once HYPER_PWA_PATH . 'sw/unregister.php'; 13 require_once HYPER_PWA_PATH . 'sw/offline.php'; 14 14 15 15 class HyperPWARetrieve -
hyper-pwa/trunk/readme.txt
r2906406 r2907747 6 6 Tested up to: 6.2 7 7 Requires PHP: 7.2 8 Stable tag: 2.3 0.08 Stable tag: 2.31.0 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 109 109 110 110 == Changelog == 111 = 2.31.0 112 (Wed., May 03, 2023) 113 * Improvement: Optimize Service Worker query. 114 111 115 = 2.30.0 112 116 (Sun., Apr. 30, 2023)
Note: See TracChangeset
for help on using the changeset viewer.