Plugin Directory

Changeset 3303894


Ignore:
Timestamp:
05/31/2025 09:12:12 AM (10 months ago)
Author:
seraphinitesoft
Message:

seraphinite-accelerator: 2.27.29.

Location:
seraphinite-accelerator
Files:
143 added
13 edited

Legend:

Unmodified
Added
Removed
  • seraphinite-accelerator/trunk/Cmn/Gen.php

    r3299359 r3303894  
    36263626            $args[ 'provider' ] = 'CURL';
    36273627        if( !isset( $args[ 'user-agent' ] ) )
    3628             $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.28';
     3628            $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.29';
    36293629        if( !isset( $args[ 'timeout' ] ) )
    36303630            $args[ 'timeout' ] = 5;
  • seraphinite-accelerator/trunk/Cmn/Plugin.php

    r3299359 r3303894  
    307307            $args[ 'id' ] = 'wordpress-accelerator';
    308308            $args[ 'name' ] = 'Accelerator';
    309             $args[ 'v' ] = '2.27.28';
     309            $args[ 'v' ] = '2.27.29';
    310310            $args[ 'pk' ] = 'Base';
    311311            $args[ 'cfg' ] = '';
     
    329329            $lastCheckPackage = 'Base';
    330330
    331         if( $lastCheckVer !== '2.27.28' || $lastCheckPackage !== 'Base' )
     331        if( $lastCheckVer !== '2.27.29' || $lastCheckPackage !== 'Base' )
    332332        {
    333333            $state = Plugin::StateGet();
    334334
    335             if( $lastCheckVer !== '2.27.28' && !isset( $state[ 'changeVerCheck' ] ) )
     335            if( $lastCheckVer !== '2.27.29' && !isset( $state[ 'changeVerCheck' ] ) )
    336336            {
    337337                $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : '';
     
    350350        if( !$bForce )
    351351        {
    352             if( $bFirstTimeOnly && $lastCheckVer == '2.27.28' )
     352            if( $bFirstTimeOnly && $lastCheckVer == '2.27.29' )
    353353                return( Gen::S_FALSE );
    354354
     
    369369            $args[ 'id' ] = 'wordpress-accelerator';
    370370            $args[ 'name' ] = 'Accelerator';
    371             $args[ 'v' ] = '2.27.28';
     371            $args[ 'v' ] = '2.27.29';
    372372            $args[ 'pk' ] = 'Base';
    373373            $args[ 'cfg' ] = '';
     
    386386            {
    387387                $data[ 'updTime' ] = $curUpdTime;
    388                 $data[ 'plgVer' ] = '2.27.28';
     388                $data[ 'plgVer' ] = '2.27.29';
    389389                $data[ 'plgPk' ] = 'Base';
    390390
     
    403403        $data[ 'mdfTime' ] = $timeMdf;
    404404        $data[ 'updTime' ] = $curUpdTime;
    405         $data[ 'plgVer' ] = '2.27.28';
     405        $data[ 'plgVer' ] = '2.27.29';
    406406        $data[ 'plgPk' ] = 'Base';
    407407
     
    14391439
    14401440        $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' );
    1441         $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.28' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
     1441        $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.29' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
    14421442        $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' );
    14431443        $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' );
    1444         $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.28' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
     1444        $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.29' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
    14451445
    14461446        $urlEula = null;
     
    14511451
    14521452        {
    1453             $version = esc_html( '2.27.28' );
     1453            $version = esc_html( '2.27.29' );
    14541454
    14551455            $res .= Ui::TagOpen( 'div' );
     
    15001500        $rmtCfg = PluginRmtCfg::Get();
    15011501
    1502         $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.28' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
     1502        $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.29' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
    15031503        $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' );
    15041504        $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' );
     
    20272027
    20282028            $verFrom = self::_PrevVer_GetInt( $plgVerPrev );
    2029             $verTo = self::_PrevVer_GetInt( '2.27.28' );
     2029            $verTo = self::_PrevVer_GetInt( '2.27.29' );
    20302030            if( $verTo < $verFrom )
    20312031                list( $verTo, $verFrom ) = array( $verFrom, $verTo );
     
    21522152                continue;
    21532153
    2154             wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.28' );
     2154            wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.29' );
    21552155
    21562156            self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true;
     
    22192219            $scrHndId = Plugin::CmnScriptId( $id );
    22202220
    2221             wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.28' );
     2221            wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.29' );
    22222222            if( $id == 'Gen' )
    22232223                Plugin::Loc_ScriptLoad( $scrHndId );
     
    26642664                            var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>";
    26652665                            sendDataUrl = sendDataUrl.replace( "{EndPointId}",                  encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) );
    2666                             sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.28" ) );
     2666                            sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.29" ) );
    26672667                            sendDataUrl = sendDataUrl.replace( "{PluginMode}",                  encodeURI( "base" ) );
    26682668                            sendDataUrl = sendDataUrl.replace( "{PluginPackage}",               encodeURI( "Base" ) );
  • seraphinite-accelerator/trunk/cache.php

    r3299359 r3303894  
    585585    if( $allowExtCache )
    586586    {
    587         @header( 'Cache-Control: public, max-age=0, s-maxage=' . Gen::GetArrField( $settCache, array( 'srvShrdTtl' ), 3600 ) );
     587        @header( 'Cache-Control: public, max-age=' . Gen::GetArrField( $settCache, array( 'srvShrdTtl' ), 3600 ) . ', s-maxage=' . Gen::GetArrField( $settCache, array( 'srvShrdTtl' ), 3600 ) );
    588588    }
    589589    else
     
    639639
    640640    if( $bHdr )
    641         @header( 'X-Seraph-Accel-Cache: 2.27.28;' . $debugInfo );
     641        @header( 'X-Seraph-Accel-Cache: 2.27.29;' . $debugInfo );
    642642
    643643    if( $bLog )
     
    15361536    {
    15371537        $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??'');
    1538         $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.28';
     1538        $_SERVER[ 'HTTP_USER_AGENT' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.29';
    15391539    }
    15401540
  • seraphinite-accelerator/trunk/common.php

    r3299359 r3303894  
    14181418                '@^Permissions-Policy\\s*:@i',
    14191419                '@^Cf-Edge-Cache\\s*:@i',
     1420                '@^Ec-Cdn-@i',
    14201421            ),
    14211422
     
    20342035                        './/a[@href="#"]',
    20352036                        './/a[@href="#link-popup"]',
     2037                        './/a[@onclick]',
    20362038
    20372039                        './/*[starts-with(@href,"#elementor-action")]',
     
    27922794        $oiCf = $dataPath . '/' . $oiCif . '.' . $fileExt . $dataFileExt;
    27932795
    2794         $lock = new Lock( $oiCf . '.l', false, true );
     2796        $lock = new Lock( 'dtl', dirname( $dataPath ) );
    27952797        if( !$lock -> Acquire() )
    27962798        {
     
    28902892    $oiCf = $dataPath . '/' . $oiCif . '.' . $fileExt;
    28912893
    2892     $lock = new Lock( $oiCf . '.l', false, true );
     2894    $lock = new Lock( 'dtl', dirname( $dataPath ) );
    28932895    if( !$lock -> Acquire() )
    28942896    {
     
    39883990function GetViewTypeUserAgent( $viewsDeviceGrp )
    39893991{
    3990     return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.28 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
     3992    return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.29 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
    39913993}
    39923994
     
    52785280    $args = array( 'sslverify' => false, 'timeout' => $timeout );
    52795281    if( $userAgentCmn )
    5280         $args[ 'user-agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.28';
     5282        $args[ 'user-agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.29';
    52815283
    52825284    global $seraph_accel_g_aGetExtContentsFailedSrvs;
     
    57285730    {
    57295731        if( !isset( $headers[ 'User-Agent' ] ) )
    5730             $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.28');
     5732            $headers[ 'User-Agent' ] = ($headers[ 'X-Seraph-Accel-Postpone-User-Agent' ]??'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.29');
    57315733        $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] );
    57325734
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot

    r3299359 r3303894  
    77msgid ""
    88msgstr ""
    9 "#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.27.28)  #-#-#-#-#\n"
    10 "Project-Id-Version: seraphinite-accelerator 2.27.28\n"
     9"#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.27.29)  #-#-#-#-#\n"
     10"Project-Id-Version: seraphinite-accelerator 2.27.29\n"
    1111"Report-Msgid-Bugs-To: support@s-sols.com\n"
    1212"MIME-Version: 1.0\n"
    1313"Content-Type: text/plain; charset=UTF-8\n"
    1414"Content-Transfer-Encoding: 8bit\n"
    15 "#-#-#-#-#  main.admin.pot (seraphinite-accelerator 2.27.28)  #-#-#-#-#\n"
    16 "Project-Id-Version: seraphinite-accelerator 2.27.28\n"
     15"#-#-#-#-#  main.admin.pot (seraphinite-accelerator 2.27.29)  #-#-#-#-#\n"
     16"Project-Id-Version: seraphinite-accelerator 2.27.29\n"
    1717"Report-Msgid-Bugs-To: support@s-sols.com\n"
    1818"MIME-Version: 1.0\n"
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot

    r3299359 r3303894  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: seraphinite-accelerator 2.27.28\n"
     9"Project-Id-Version: seraphinite-accelerator 2.27.29\n"
    1010"Report-Msgid-Bugs-To: support@s-sols.com\n"
    1111"MIME-Version: 1.0\n"
  • seraphinite-accelerator/trunk/main.php

    r3299359 r3303894  
    4242function _AddMenus( $accepted = false )
    4343{
    44     add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage',                                                                      $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.27.28', __FILE__ ) );
     44    add_menu_page( Plugin::GetPluginString( 'TitleLong' ), Plugin::GetNavMenuTitle(), 'manage_options', 'seraph_accel_manage',                                                                      $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent', Plugin::FileUri( 'icon.png?v=2.27.29', __FILE__ ) );
    4545    add_submenu_page( 'seraph_accel_manage', esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), esc_html_x( 'Title', 'admin.Manage', 'seraphinite-accelerator' ), 'manage_options', 'seraph_accel_manage',   $accepted ? 'seraph_accel\\_ManagePage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' );
    4646    add_submenu_page( 'seraph_accel_manage', Wp::GetLocString( 'Settings' ), Wp::GetLocString( 'Settings' ), 'manage_options', 'seraph_accel_settings',                                     $accepted ? 'seraph_accel\\_SettingsPage' : 'seraph_accel\\Plugin::OutputNotAcceptedPageContent' );
     
    12721272{
    12731273    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    1274     wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.28' );
     1274    wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.29' );
    12751275    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    12761276    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    15081508    $rmtCfg = PluginRmtCfg::Get();
    15091509
    1510     $urlLogoImg = add_query_arg( array( 'v' => '2.27.28' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
     1510    $urlLogoImg = add_query_arg( array( 'v' => '2.27.29' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
    15111511    $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' );
    15121512
  • seraphinite-accelerator/trunk/oper.php

    r3299359 r3303894  
    12081208    foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI )
    12091209        if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' )
    1210             $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.28' );
     1210            $res[ $viewIdI ] = array( 'User-Agent' => 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.29' );
    12111211
    12121212    if( ($settCache[ 'views' ]??null) )
  • seraphinite-accelerator/trunk/options.php

    r3299359 r3303894  
    142142
    143143    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    144     wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.28' );
     144    wp_register_script( Plugin::ScriptId( 'Admin' ), add_query_arg( Plugin::GetFileUrlPackageParams(), Plugin::FileUrl( 'Admin.js', __FILE__ ) ), array_merge( array( 'jquery' ), Plugin::CmnScriptId( array( 'Cmn', 'Gen', 'Ui', 'Net' ) ) ), '2.27.29' );
    145145    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    146146    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
  • seraphinite-accelerator/trunk/plugin_root.php

    r3299359 r3303894  
    66Text Domain: seraphinite-accelerator
    77Domain Path: /languages
    8 Version: 2.27.28
     8Version: 2.27.29
    99Author: Seraphinite Solutions
    1010Author URI: https://www.s-sols.com
  • seraphinite-accelerator/trunk/readme.txt

    r3299359 r3303894  
    66Requires at least: 4.5
    77Tested up to: 6.8
    8 Stable tag: 2.27.28
     8Stable tag: 2.27.29
    99License: GPLv2 or later (if another license is not provided)
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    163163== Changelog ==
    164164
     165= 2.27.29 =
     166
     167Fixes:
     168
     169* Cache control 'max-age' parameter is always 0.
     170* While multiple parallel optimization error of modifying data locker can occur.
     171
    165172= 2.27.28 =
    166173
Note: See TracChangeset for help on using the changeset viewer.