Plugin Directory

Changeset 3451620


Ignore:
Timestamp:
02/01/2026 10:11:10 PM (2 months ago)
Author:
seraphinitesoft
Message:

seraphinite-accelerator: 2.28.11.

Location:
seraphinite-accelerator
Files:
143 added
13 edited

Legend:

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

    r3450747 r3451620  
    36523652            $args[ 'provider' ] = 'CURL';
    36533653        if( !isset( $args[ 'user-agent' ] ) )
    3654             $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28.10';
     3654            $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28.11';
    36553655        if( !isset( $args[ 'timeout' ] ) )
    36563656            $args[ 'timeout' ] = 5;
  • seraphinite-accelerator/trunk/Cmn/Plugin.php

    r3450747 r3451620  
    307307            $args[ 'id' ] = 'wordpress-accelerator';
    308308            $args[ 'name' ] = 'Accelerator';
    309             $args[ 'v' ] = '2.28.10';
     309            $args[ 'v' ] = '2.28.11';
    310310            $args[ 'pk' ] = 'Base';
    311311            $args[ 'cfg' ] = '';
     
    329329            $lastCheckPackage = 'Base';
    330330
    331         if( $lastCheckVer !== '2.28.10' || $lastCheckPackage !== 'Base' )
     331        if( $lastCheckVer !== '2.28.11' || $lastCheckPackage !== 'Base' )
    332332        {
    333333            $state = Plugin::StateGet();
    334334
    335             if( $lastCheckVer !== '2.28.10' && !isset( $state[ 'changeVerCheck' ] ) )
     335            if( $lastCheckVer !== '2.28.11' && !isset( $state[ 'changeVerCheck' ] ) )
    336336            {
    337337                $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : '';
     
    350350        if( !$bForce )
    351351        {
    352             if( $bFirstTimeOnly && $lastCheckVer == '2.28.10' )
     352            if( $bFirstTimeOnly && $lastCheckVer == '2.28.11' )
    353353                return( Gen::S_FALSE );
    354354
     
    369369            $args[ 'id' ] = 'wordpress-accelerator';
    370370            $args[ 'name' ] = 'Accelerator';
    371             $args[ 'v' ] = '2.28.10';
     371            $args[ 'v' ] = '2.28.11';
    372372            $args[ 'pk' ] = 'Base';
    373373            $args[ 'cfg' ] = '';
     
    386386            {
    387387                $data[ 'updTime' ] = $curUpdTime;
    388                 $data[ 'plgVer' ] = '2.28.10';
     388                $data[ 'plgVer' ] = '2.28.11';
    389389                $data[ 'plgPk' ] = 'Base';
    390390
     
    403403        $data[ 'mdfTime' ] = $timeMdf;
    404404        $data[ 'updTime' ] = $curUpdTime;
    405         $data[ 'plgVer' ] = '2.28.10';
     405        $data[ 'plgVer' ] = '2.28.11';
    406406        $data[ 'plgPk' ] = 'Base';
    407407
     
    14601460
    14611461        $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' );
    1462         $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28.10' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
     1462        $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28.11' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
    14631463        $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' );
    14641464        $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' );
    1465         $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28.10' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
     1465        $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28.11' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
    14661466
    14671467        $urlEula = null;
     
    14721472
    14731473        {
    1474             $version = esc_html( '2.28.10' );
     1474            $version = esc_html( '2.28.11' );
    14751475
    14761476            $res .= Ui::TagOpen( 'div' );
     
    15211521        $rmtCfg = PluginRmtCfg::Get();
    15221522
    1523         $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28.10' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
     1523        $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28.11' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
    15241524        $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' );
    15251525        $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' );
     
    20502050
    20512051            $verFrom = self::_PrevVer_GetInt( $plgVerPrev );
    2052             $verTo = self::_PrevVer_GetInt( '2.28.10' );
     2052            $verTo = self::_PrevVer_GetInt( '2.28.11' );
    20532053            if( $verTo < $verFrom )
    20542054                list( $verTo, $verFrom ) = array( $verFrom, $verTo );
     
    21752175                continue;
    21762176
    2177             wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28.10' );
     2177            wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28.11' );
    21782178
    21792179            self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true;
     
    22422242            $scrHndId = Plugin::CmnScriptId( $id );
    22432243
    2244             wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28.10' );
     2244            wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28.11' );
    22452245            if( $id == 'Gen' )
    22462246                Plugin::Loc_ScriptLoad( $scrHndId );
     
    26872687                            var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>";
    26882688                            sendDataUrl = sendDataUrl.replace( "{EndPointId}",                  encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) );
    2689                             sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.28.10" ) );
     2689                            sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.28.11" ) );
    26902690                            sendDataUrl = sendDataUrl.replace( "{PluginMode}",                  encodeURI( "base" ) );
    26912691                            sendDataUrl = sendDataUrl.replace( "{PluginPackage}",               encodeURI( "Base" ) );
  • seraphinite-accelerator/trunk/cache.php

    r3450747 r3451620  
    677677
    678678    if( $bHdr )
    679         @header( 'X-Seraph-Accel-Cache: 2.28.10;' . $debugInfo );
     679        @header( 'X-Seraph-Accel-Cache: 2.28.11;' . $debugInfo );
    680680
    681681    if( $bLog )
     
    15841584    {
    15851585        $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??'');
    1586         $_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.28.10';
     1586        $_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.28.11';
    15871587    }
    15881588
  • seraphinite-accelerator/trunk/common.php

    r3450747 r3451620  
    41524152function GetViewTypeUserAgent( $viewsDeviceGrp )
    41534153{
    4154     return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.10 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
     4154    return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.11 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
    41554155}
    41564156
     
    54565456    $args = array( 'sslverify' => false, 'timeout' => $timeout, 'headers' => array() );
    54575457    if( $userAgentCmn )
    5458         $args[ 'headers' ][ 'User-Agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.10';
     5458        $args[ 'headers' ][ 'User-Agent' ] = 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.28.11';
    54595459
    54605460    global $seraph_accel_g_aGetExtContentsFailedSrvs;
     
    59645964    {
    59655965        if( !isset( $headers[ 'User-Agent' ] ) )
    5966             $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.28.10');
     5966            $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.28.11');
    59675967        $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] );
    59685968
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot

    r3450747 r3451620  
    77msgid ""
    88msgstr ""
    9 "#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.28.10)  #-#-#-#-#\n"
    10 "Project-Id-Version: seraphinite-accelerator 2.28.10\n"
     9"#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.28.11)  #-#-#-#-#\n"
     10"Project-Id-Version: seraphinite-accelerator 2.28.11\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.28.10)  #-#-#-#-#\n"
    16 "Project-Id-Version: seraphinite-accelerator 2.28.10\n"
     15"#-#-#-#-#  main.admin.pot (seraphinite-accelerator 2.28.11)  #-#-#-#-#\n"
     16"Project-Id-Version: seraphinite-accelerator 2.28.11\n"
    1717"Report-Msgid-Bugs-To: support@s-sols.com\n"
    1818"MIME-Version: 1.0\n"
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot

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

    r3450747 r3451620  
    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.28.10', __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.28.11', __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' );
     
    12661266{
    12671267    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    1268     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.28.10' );
     1268    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.28.11' );
    12691269    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    12701270    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    15081508    $rmtCfg = PluginRmtCfg::Get();
    15091509
    1510     $urlLogoImg = add_query_arg( array( 'v' => '2.28.10' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
     1510    $urlLogoImg = add_query_arg( array( 'v' => '2.28.11' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
    15111511    $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' );
    15121512
  • seraphinite-accelerator/trunk/oper.php

    r3450747 r3451620  
    12161216    foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI )
    12171217        if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' )
    1218             $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.28.10' );
     1218            $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.28.11' );
    12191219
    12201220    if( ($settCache[ 'views' ]??null) )
  • seraphinite-accelerator/trunk/options.php

    r3450747 r3451620  
    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.28.10' );
     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.28.11' );
    145145    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    146146    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
  • seraphinite-accelerator/trunk/plugin_root.php

    r3450747 r3451620  
    66Text Domain: seraphinite-accelerator
    77Domain Path: /languages
    8 Version: 2.28.10
     8Version: 2.28.11
    99Author: Seraphinite Solutions
    1010Author URI: https://www.s-sols.com
  • seraphinite-accelerator/trunk/readme.txt

    r3450747 r3451620  
    66Requires at least: 4.5
    77Tested up to: 6.8
    8 Stable tag: 2.28.10
     8Stable tag: 2.28.11
    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.28.11 =
     166
     167Improvements:
     168
     169* Fast content optimization in temporary cache.
     170
    165171= 2.28.10 =
    166172
Note: See TracChangeset for help on using the changeset viewer.