Plugin Directory

Changeset 3285902


Ignore:
Timestamp:
05/01/2025 10:57:04 PM (11 months ago)
Author:
seraphinitesoft
Message:

seraphinite-accelerator: 2.27.23.

Location:
seraphinite-accelerator
Files:
143 added
14 edited

Legend:

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

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

    r3284098 r3285902  
    292292            $args[ 'id' ] = 'wordpress-accelerator';
    293293            $args[ 'name' ] = 'Accelerator';
    294             $args[ 'v' ] = '2.27.22';
     294            $args[ 'v' ] = '2.27.23';
    295295            $args[ 'pk' ] = 'Base';
    296296            $args[ 'cfg' ] = '';
     
    314314            $lastCheckPackage = 'Base';
    315315
    316         if( $lastCheckVer !== '2.27.22' || $lastCheckPackage !== 'Base' )
     316        if( $lastCheckVer !== '2.27.23' || $lastCheckPackage !== 'Base' )
    317317        {
    318318            $state = Plugin::StateGet();
    319319
    320             if( $lastCheckVer !== '2.27.22' && !isset( $state[ 'changeVerCheck' ] ) )
     320            if( $lastCheckVer !== '2.27.23' && !isset( $state[ 'changeVerCheck' ] ) )
    321321            {
    322322                $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : '';
     
    335335        if( !$bForce )
    336336        {
    337             if( $bFirstTimeOnly && $lastCheckVer == '2.27.22' )
     337            if( $bFirstTimeOnly && $lastCheckVer == '2.27.23' )
    338338                return( Gen::S_FALSE );
    339339
     
    354354            $args[ 'id' ] = 'wordpress-accelerator';
    355355            $args[ 'name' ] = 'Accelerator';
    356             $args[ 'v' ] = '2.27.22';
     356            $args[ 'v' ] = '2.27.23';
    357357            $args[ 'pk' ] = 'Base';
    358358            $args[ 'cfg' ] = '';
     
    371371            {
    372372                $data[ 'updTime' ] = $curUpdTime;
    373                 $data[ 'plgVer' ] = '2.27.22';
     373                $data[ 'plgVer' ] = '2.27.23';
    374374                $data[ 'plgPk' ] = 'Base';
    375375
     
    388388        $data[ 'mdfTime' ] = $timeMdf;
    389389        $data[ 'updTime' ] = $curUpdTime;
    390         $data[ 'plgVer' ] = '2.27.22';
     390        $data[ 'plgVer' ] = '2.27.23';
    391391        $data[ 'plgPk' ] = 'Base';
    392392
     
    14241424
    14251425        $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' );
    1426         $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.22' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
     1426        $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.23' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
    14271427        $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' );
    14281428        $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' );
    1429         $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.22' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
     1429        $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.23' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
    14301430
    14311431        $urlEula = null;
     
    14361436
    14371437        {
    1438             $version = esc_html( '2.27.22' );
     1438            $version = esc_html( '2.27.23' );
    14391439
    14401440            $res .= Ui::TagOpen( 'div' );
     
    14851485        $rmtCfg = PluginRmtCfg::Get();
    14861486
    1487         $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.22' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
     1487        $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.23' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
    14881488        $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' );
    14891489        $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' );
     
    20122012
    20132013            $verFrom = self::_PrevVer_GetInt( $plgVerPrev );
    2014             $verTo = self::_PrevVer_GetInt( '2.27.22' );
     2014            $verTo = self::_PrevVer_GetInt( '2.27.23' );
    20152015            if( $verTo < $verFrom )
    20162016                list( $verTo, $verFrom ) = array( $verFrom, $verTo );
     
    21372137                continue;
    21382138
    2139             wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.22' );
     2139            wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.23' );
    21402140
    21412141            self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true;
     
    22042204            $scrHndId = Plugin::CmnScriptId( $id );
    22052205
    2206             wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.22' );
     2206            wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.23' );
    22072207            if( $id == 'Gen' )
    22082208                Plugin::Loc_ScriptLoad( $scrHndId );
     
    26492649                            var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>";
    26502650                            sendDataUrl = sendDataUrl.replace( "{EndPointId}",                  encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) );
    2651                             sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.22" ) );
     2651                            sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.23" ) );
    26522652                            sendDataUrl = sendDataUrl.replace( "{PluginMode}",                  encodeURI( "base" ) );
    26532653                            sendDataUrl = sendDataUrl.replace( "{PluginPackage}",               encodeURI( "Base" ) );
  • seraphinite-accelerator/trunk/cache.php

    r3284098 r3285902  
    613613
    614614    if( $bHdr )
    615         @header( 'X-Seraph-Accel-Cache: 2.27.22;' . $debugInfo );
     615        @header( 'X-Seraph-Accel-Cache: 2.27.23;' . $debugInfo );
    616616
    617617    if( $bLog )
     
    15091509    {
    15101510        $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??'');
    1511         $_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.22';
     1511        $_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.23';
    15121512    }
    15131513
  • seraphinite-accelerator/trunk/cache_obj.php

    r3256367 r3285902  
    179179        $this -> inited = true;
    180180
    181         if( is_multisite() )
     181        if( is_multisite() && function_exists( 'get_current_site' ) )
    182182        {
    183183            $this -> curSite = get_current_site();
  • seraphinite-accelerator/trunk/common.php

    r3284098 r3285902  
    39403940function GetViewTypeUserAgent( $viewsDeviceGrp )
    39413941{
    3942     return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.22 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
     3942    return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.23 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
    39433943}
    39443944
     
    52305230    $args = array( 'sslverify' => false, 'timeout' => $timeout );
    52315231    if( $userAgentCmn )
    5232         $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.22';
     5232        $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.23';
    52335233
    52345234    global $seraph_accel_g_aGetExtContentsFailedSrvs;
     
    56805680    {
    56815681        if( !isset( $headers[ 'User-Agent' ] ) )
    5682             $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.22');
     5682            $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.23');
    56835683        $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] );
    56845684
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot

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

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

    r3284098 r3285902  
    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.22', __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.23', __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' );
     
    12591259{
    12601260    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    1261     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.22' );
     1261    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.23' );
    12621262    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    12631263    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    14951495    $rmtCfg = PluginRmtCfg::Get();
    14961496
    1497     $urlLogoImg = add_query_arg( array( 'v' => '2.27.22' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
     1497    $urlLogoImg = add_query_arg( array( 'v' => '2.27.23' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
    14981498    $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' );
    14991499
  • seraphinite-accelerator/trunk/oper.php

    r3284098 r3285902  
    11931193    foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI )
    11941194        if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' )
    1195             $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.22' );
     1195            $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.23' );
    11961196
    11971197    if( ($settCache[ 'views' ]??null) )
  • seraphinite-accelerator/trunk/options.php

    r3284098 r3285902  
    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.22' );
     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.23' );
    145145    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    146146    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
  • seraphinite-accelerator/trunk/plugin_root.php

    r3284098 r3285902  
    66Text Domain: seraphinite-accelerator
    77Domain Path: /languages
    8 Version: 2.27.22
     8Version: 2.27.23
    99Author: Seraphinite Solutions
    1010Author URI: https://www.s-sols.com
  • seraphinite-accelerator/trunk/readme.txt

    r3284098 r3285902  
    66Requires at least: 4.5
    77Tested up to: 6.7
    8 Stable tag: 2.27.22
     8Stable tag: 2.27.23
    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.23 =
     166
     167Improvements:
     168
     169* HTML parsing: Correcting missed '!doctype' tag.
     170
     171Fixes:
     172
     173* Object Cache: Multisite: Call to undefined function get_current_site().
     174
    165175= 2.27.22 =
    166176
Note: See TracChangeset for help on using the changeset viewer.