Plugin Directory

Changeset 2907747


Ignore:
Timestamp:
05/04/2023 12:02:18 AM (3 years ago)
Author:
rickey29
Message:

2.31.0

Location:
hyper-pwa/trunk
Files:
6 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • hyper-pwa/trunk/admin/admin.php

    r2905921 r2907747  
    630630        if ( !empty( $_GET['settings-updated'] ) )
    631631        {
     632            update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );
     633
    632634            $this->retrieve->reset_transient();
    633 
    634             update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );
    635635
    636636
  • hyper-pwa/trunk/cfg/cfg.php

    r2906406 r2907747  
    55}
    66
    7 define( 'HYPER_PWA_VERSION', '2.30.0' );
     7define( 'HYPER_PWA_VERSION', '2.31.0' );
    88define( 'HYPER_PWA_VERSION_ID', 'hyper-pwa-version-id' );
    99
  • hyper-pwa/trunk/hyper-pwa.php

    r2906406 r2907747  
    44Plugin URI:  https://github.com/rickey29/hyper-pwa
    55Description: Provide custom Manifest and Service Worker, convert WordPress into Progressive Web Apps (PWA).
    6 Version:     2.30.0
     6Version:     2.31.0
    77Author:      Rickey Gu
    88Author URI:  https://flexplat.com
     
    194194        if ( HYPER_PWA_VERSION !== $version )
    195195        {
    196             $this->retrieve->reset_transient();
    197 
    198196            update_option( HYPER_PWA_VERSION_ID, HYPER_PWA_VERSION );
    199197            update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );
     198
     199            $this->retrieve->reset_transient();
    200200        }
    201201        elseif ( HYPER_PWA_TRANSIENT_SCHEDULE_RECURRENCE <= $this->time_now - $transient_timestamp )
    202202        {
     203            update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );
     204
    203205            $this->retrieve->reset_transient();
    204 
    205             update_option( HYPER_PWA_TRANSIENT_TIMESTAMP, $this->time_now );
    206206        }
    207207
    208208        if ( HYPER_PWA_PAGE_VIEW_SCHEDULE_RECURRENCE <= $this->time_now - $page_view_timestamp )
    209209        {
     210            update_option( HYPER_PWA_PAGE_VIEW_TIMESTAMP, $this->time_now );
     211
    210212            $this->lib->save_page_view();
    211 
    212             update_option( HYPER_PWA_PAGE_VIEW_TIMESTAMP, $this->time_now );
    213213        }
    214214
  • hyper-pwa/trunk/lib/retrieve.php

    r2906198 r2907747  
    77require_once HYPER_PWA_PATH . 'cfg/cfg.php';
    88require_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';
     9require_once HYPER_PWA_PATH . 'sw/register.php';
     10require_once HYPER_PWA_PATH . 'sw/service-worker.php';
     11require_once HYPER_PWA_PATH . 'sw/manifest.php';
     12require_once HYPER_PWA_PATH . 'sw/unregister.php';
     13require_once HYPER_PWA_PATH . 'sw/offline.php';
    1414
    1515class HyperPWARetrieve
  • hyper-pwa/trunk/readme.txt

    r2906406 r2907747  
    66Tested up to: 6.2
    77Requires PHP: 7.2
    8 Stable tag: 2.30.0
     8Stable tag: 2.31.0
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    109109
    110110== Changelog ==
     111= 2.31.0
     112(Wed., May 03, 2023)
     113* Improvement: Optimize Service Worker query.
     114
    111115= 2.30.0
    112116(Sun., Apr. 30, 2023)
Note: See TracChangeset for help on using the changeset viewer.