Plugin Directory

Changeset 3492783


Ignore:
Timestamp:
03/27/2026 04:03:14 PM (5 days ago)
Author:
seraphinitesoft
Message:

seraphinite-accelerator: 2.28.19.

Location:
seraphinite-accelerator
Files:
144 added
18 edited

Legend:

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

    r3489455 r3492783  
    137137    {
    138138        if( !count( $fieldPath ) )
    139             return( $defVal );
     139            return( $defVal );
    140140
    141141        $bFoundLastKey = false;
     
    148148            if( $fld === '' )
    149149                continue;
     150
     151            if( $fld === null )
     152                return( $defVal );
    150153
    151154            $vNext = $isArr ? ($v[ $fld ]??null) : ($v -> { $fld }??null);
     
    10871090        if( ( $lr = $lock ? $lock -> Acquire() : null ) !== false )
    10881091        {
    1089             if( @file_put_contents( $fileTmp, $data ) )
     1092            if( @file_put_contents( $fileTmp, $data ) !== false )
    10901093            {
    10911094                if( $fileTime === null || @touch( $fileTmp, $fileTime ) )
     
    12931296            else
    12941297                $v = $vSrc;
     1298        }
     1299    }
     1300
     1301    static function ArrPlus( &$arr, $arrSrc )
     1302    {
     1303        foreach( $arrSrc as $k => $vSrc )
     1304        {
     1305            $v = &$arr[ $k ];
     1306            if( is_array( $vSrc ) )
     1307                Gen::ArrPlus( $v, $vSrc );
     1308            else
     1309                $v += $vSrc;
    12951310        }
    12961311    }
     
    19912006        {
    19922007        case 'boolean':
    1993             return( $v ? 'true' : 'false' );
    19942008        case 'integer':
    1995             return( ( string )$v );
     2009        case 'string':
     2010            return( var_export( $v, true ) );
     2011
    19962012        case 'double':
    19972013            return( preg_replace( '@([^\\.])0+$@', '${1}', sprintf( '%.' . ( string )$fmt[ 'floatPrec' ] . 'F', $v ) ) );
    1998 
    1999         case 'string':
    2000             $v = json_encode( $v, JSON_UNESCAPED_SLASHES );
    2001             $v = str_replace( array( '${' ), array( '\\${' ), $v );
    2002             return( $v );
    20032014
    20042015        case 'array':
     
    20692080    static function CheckNonce( $nonce, $data, $key, $ttl = null, $time = null )
    20702081    {
     2082        if( empty( $nonce ) )
     2083            return( false );
     2084
    20712085        if( $ttl )
    20722086        {
     
    32653279    const FMT_WEEK_USINGFIRSTDAY        = 'W+';
    32663280    const FMT_MONTH                     = 'n';
    3267     const FMT_YEAR                      = 'o';
     3281    const FMT_YEAR                      = 'Y';
     3282    const FMT_YEAR_FOR_WEEK             = 'o';
    32683283
    32693284    const RFC2822                       = "D, d M Y H:i:s O";
    32703285
    3271     static function GetFmtVals( $dt, $firstWeekDay = 1, $a = array( DateTime::FMT_YEAR, DateTime::FMT_MONTH, DateTime::FMT_WEEK, DateTime::FMT_DAY, DateTime::FMT_WEEKDAY, DateTime::FMT_HOUR, DateTime::FMT_MINUTE ) )
     3286    static function GetFmtVals( $dt, $firstWeekDay = 1, $a = array( DateTime::FMT_YEAR_FOR_WEEK, DateTime::FMT_YEAR, DateTime::FMT_MONTH, DateTime::FMT_WEEK, DateTime::FMT_DAY, DateTime::FMT_WEEKDAY, DateTime::FMT_HOUR, DateTime::FMT_MINUTE ) )
    32723287    {
    32733288        if( !$dt )
     
    34463461    const E_HTTP_STATUS_400                         = 0x80190290;
    34473462    const E_HTTP_STATUS_403                         = 0x80190293;
     3463    const E_HTTP_STATUS_404                         = 0x80190294;
    34483464
    34493465    const E_HTTP_STATUS_500                         = 0x801902F4;
     
    38933909            $args[ 'provider' ] = 'CURL';
    38943910        if( !isset( $args[ 'user-agent' ] ) )
    3895             $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28.18';
     3911            $args[ 'user-agent' ] = 'seraph-accel-Agent/2.28.19';
    38963912        if( !isset( $args[ 'timeout' ] ) )
    38973913            $args[ 'timeout' ] = 5;
     
    39123928        if( isset( $args[ 'referer' ] ) )
    39133929            curl_setopt( $hCurl, CURLOPT_REFERER, $args[ 'referer' ] );
     3930        curl_setopt( $hCurl, CURLOPT_CONNECTTIMEOUT, $args[ 'timeout' ] );
    39143931        curl_setopt( $hCurl, CURLOPT_TIMEOUT, $args[ 'timeout' ] );
    39153932        curl_setopt( $hCurl, CURLOPT_MAXREDIRS, 2 );
    39163933        curl_setopt( $hCurl, CURLOPT_FOLLOWLOCATION, true );
    39173934
    3918         if( $method === 'POST' && isset( $args[ 'data' ] ) )
    3919         {
    3920             $requestRes[ 'data_sent' ] = $args[ 'data' ];
    3921             curl_setopt( $hCurl, CURLOPT_POSTFIELDS, $args[ 'data' ] );
     3935        if( $method === 'POST' && isset( $args[ 'body' ] ) )
     3936        {
     3937            $requestRes[ 'data_sent' ] = $args[ 'body' ];
     3938            curl_setopt( $hCurl, CURLOPT_POSTFIELDS, $args[ 'body' ] );
    39223939        }
    39233940
     
    39443961    {
    39453962        return( strtotime( preg_replace( '@;.*$@', '', $v ) ) );
     3963    }
     3964
     3965    static function GetSiteId( $siteUrl, $binary = false )
     3966    {
     3967        $siteUrlParts = @parse_url( $siteUrl );
     3968        if( !is_array( $siteUrlParts ) )
     3969            return( '' );
     3970
     3971        $res = $siteUrlParts[ 'host' ];
     3972
     3973        if( isset( $siteUrlParts[ 'port' ] ) )
     3974            $res .= '_' . $siteUrlParts[ 'port' ];
     3975
     3976        if( isset( $siteUrlParts[ 'path' ] ) )
     3977            $res .= '_' . str_replace( array( '/', '\\' ), '_', $siteUrlParts[ 'path' ] );
     3978
     3979        return( md5( $res, $binary ) );
    39463980    }
    39473981}
     
    52275261            $siteUrl = Wp::GetSiteRootUrl();
    52285262
    5229         $siteUrlParts = @parse_url( $siteUrl );
    5230         if( !is_array( $siteUrlParts ) )
    5231             return( '' );
    5232 
    5233         $res = $siteUrlParts[ 'host' ];
    5234 
    5235         if( isset( $siteUrlParts[ 'port' ] ) )
    5236             $res .= '_' . $siteUrlParts[ 'port' ];
    5237 
    5238         if( isset( $siteUrlParts[ 'path' ] ) )
    5239             $res .= '_' . str_replace( array( '/', '\\' ), '_', $siteUrlParts[ 'path' ] );
    5240 
    5241         return( md5( $res ) );
     5263        return( Net::GetSiteId( $siteUrl ) );
    52425264    }
    52435265
  • seraphinite-accelerator/trunk/Cmn/Plugin.php

    r3489455 r3492783  
    317317            $args[ 'id' ] = 'wordpress-accelerator';
    318318            $args[ 'name' ] = 'Accelerator';
    319             $args[ 'v' ] = '2.28.18';
     319            $args[ 'v' ] = '2.28.19';
    320320            $args[ 'pk' ] = 'Base';
    321321            $args[ 'cfg' ] = '';
     
    339339            $lastCheckPackage = 'Base';
    340340
    341         if( $lastCheckVer !== '2.28.18' || $lastCheckPackage !== 'Base' )
     341        if( $lastCheckVer !== '2.28.19' || $lastCheckPackage !== 'Base' )
    342342        {
    343343            $state = Plugin::StateGet();
    344344
    345             if( $lastCheckVer !== '2.28.18' && !isset( $state[ 'changeVerCheck' ] ) )
     345            if( $lastCheckVer !== '2.28.19' && !isset( $state[ 'changeVerCheck' ] ) )
    346346            {
    347347                $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : '';
     
    360360        if( !$bForce )
    361361        {
    362             if( $bFirstTimeOnly && $lastCheckVer == '2.28.18' )
     362            if( $bFirstTimeOnly && $lastCheckVer == '2.28.19' )
    363363                return( Gen::S_FALSE );
    364364
     
    379379            $args[ 'id' ] = 'wordpress-accelerator';
    380380            $args[ 'name' ] = 'Accelerator';
    381             $args[ 'v' ] = '2.28.18';
     381            $args[ 'v' ] = '2.28.19';
    382382            $args[ 'pk' ] = 'Base';
    383383            $args[ 'cfg' ] = '';
     
    396396            {
    397397                $data[ 'updTime' ] = $curUpdTime;
    398                 $data[ 'plgVer' ] = '2.28.18';
     398                $data[ 'plgVer' ] = '2.28.19';
    399399                $data[ 'plgPk' ] = 'Base';
    400400
     
    413413        $data[ 'mdfTime' ] = $timeMdf;
    414414        $data[ 'updTime' ] = $curUpdTime;
    415         $data[ 'plgVer' ] = '2.28.18';
     415        $data[ 'plgVer' ] = '2.28.19';
    416416        $data[ 'plgPk' ] = 'Base';
    417417
     
    14821482
    14831483        $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' );
    1484         $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28.18' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
     1484        $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.28.19' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
    14851485        $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' );
    14861486        $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' );
    1487         $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28.18' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
     1487        $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.28.19' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
    14881488
    14891489        $urlEula = null;
     
    14941494
    14951495        {
    1496             $version = esc_html( '2.28.18' );
     1496            $version = esc_html( '2.28.19' );
    14971497
    14981498            $res .= Ui::TagOpen( 'div' );
     
    15431543        $rmtCfg = PluginRmtCfg::Get();
    15441544
    1545         $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28.18' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
     1545        $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.28.19' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
    15461546        $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' );
    15471547        $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' );
     
    20722072
    20732073            $verFrom = self::_PrevVer_GetInt( $plgVerPrev );
    2074             $verTo = self::_PrevVer_GetInt( '2.28.18' );
     2074            $verTo = self::_PrevVer_GetInt( '2.28.19' );
    20752075            if( $verTo < $verFrom )
    20762076                list( $verTo, $verFrom ) = array( $verFrom, $verTo );
     
    21972197                continue;
    21982198
    2199             wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28.18' );
     2199            wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.28.19' );
    22002200
    22012201            self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true;
     
    22642264            $scrHndId = Plugin::CmnScriptId( $id );
    22652265
    2266             wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28.18' );
     2266            wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.28.19' );
    22672267            if( $id == 'Gen' )
    22682268                Plugin::Loc_ScriptLoad( $scrHndId );
     
    27092709                            var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>";
    27102710                            sendDataUrl = sendDataUrl.replace( "{EndPointId}",                  encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) );
    2711                             sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.28.18" ) );
     2711                            sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.28.19" ) );
    27122712                            sendDataUrl = sendDataUrl.replace( "{PluginMode}",                  encodeURI( "base" ) );
    27132713                            sendDataUrl = sendDataUrl.replace( "{PluginPackage}",               encodeURI( "Base" ) );
  • seraphinite-accelerator/trunk/Cmn/Ui.php

    r3489455 r3492783  
    523523                    }
    524524                }
    525                 else
    526                     $res .= Ui::EscHtml( $attrVal );
     525                else if( $attrVal !== null )
     526                    $res .= Ui::EscHtml( ( string )$attrVal );
    527527
    528528                $res .= '"';
  • seraphinite-accelerator/trunk/cache.php

    r3485735 r3492783  
    100100            return( Gen::E_FAIL );
    101101        }
    102 
    103         register_shutdown_function(
    104             function()
    105             {
    106                 for( $l = ob_get_level(); $l > 0; $l-- )
    107                     ob_end_flush();
    108             }
    109         );
    110102
    111103    }
  • seraphinite-accelerator/trunk/cache_ex.php

    r3489455 r3492783  
    6767
    6868    if( $bHdr )
    69         @header( 'X-Seraph-Accel-Cache: 2.28.18;' . $debugInfo );
     69        @header( 'X-Seraph-Accel-Cache: 2.28.19;' . $debugInfo );
    7070
    7171    if( $bLog )
     
    996996    {
    997997        $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??'');
    998         $_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.18';
     998        $_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.19';
    999999    }
    10001000
  • seraphinite-accelerator/trunk/cache_ext.php

    r3485735 r3492783  
    426426                Net::RemoteRequest
    427427
    428                 ( 'POST', $urlFpcMicroservice, array( 'timeout' => 4, 'sslverify' => false, 'data' => $data, 'referer' => home_url(), 'user-agent' => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), 'headers' => array( 'Accept' => 'application/json', 'Content-Type' => 'application/json', 'Content-Length' => strlen( $data ) ) ) );
     428                ( 'POST', $urlFpcMicroservice, array( 'timeout' => 4, 'sslverify' => false, 'body' => $data, 'referer' => home_url(), 'user-agent' => 'WordPress/' . get_bloginfo( 'version' ) . '; ' . get_bloginfo( 'url' ), 'headers' => array( 'Accept' => 'application/json', 'Content-Type' => 'application/json', 'Content-Length' => strlen( $data ) ) ) );
    429429
    430430            if( ($sett[ 'log' ]??null) && ($sett[ 'logScope' ][ 'srvClr' ]??null) )
     
    476476        {
    477477            if( $urlComps = Net::UrlParse( $url ) )
    478                 $requestRes = Wp::RemoteGet( Net::UrlDeParse( $urlComps, 0, array( PHP_URL_PATH, PHP_URL_QUERY, PHP_URL_FRAGMENT ) ) . '/kinsta-clear-cache' . ( isset( $urlComps[ 'path' ] ) ? $urlComps[ 'path' ] : '/' ), array( 'timeout' => 5, 'sslverify' => false ) );
    479 
    480         }
    481         else
     478                $requestRes = Net::RemoteRequest( 'POST', 'https://localhost/kinsta-clear-cache/v2/immediate', array( 'sslverify' => false, 'timeout' => Gen::Constant( 'KINSTAMU_CACHE_PURGE_TIMEOUT', 5 ), 'body' => Net::UrlBuildQuery( array( 'single|custom|0' => ltrim( Net::UrlDeParse( $urlComps, 0, array(), array( PHP_URL_HOST, PHP_URL_PORT, PHP_URL_PATH ) ), '/' ) ) ) ) );
     479        }
     480        else
     481        {
    482482            $requestRes = Wp::RemoteGet( 'https://localhost/kinsta-clear-cache-all', array( 'timeout' => 5, 'sslverify' => false ) );
     483            $requestRes = Wp::RemoteGet( 'https://localhost/kinsta-clear-cache-cdn', array( 'timeout' => 5, 'sslverify' => false ) );
     484
     485        }
    483486
    484487        if( ($sett[ 'log' ]??null) && ($sett[ 'logScope' ][ 'srvClr' ]??null) )
  • seraphinite-accelerator/trunk/common.php

    r3489455 r3492783  
    1313require_once( __DIR__ . '/Cmn/Plugin.php' );
    1414
    15 const PLUGIN_SETT_VER                               = 191;
     15const PLUGIN_SETT_VER                               = 192;
    1616const PLUGIN_DATA_VER                               = 1;
    1717const PLUGIN_EULA_VER                               = 1;
     
    12221222    {
    12231223        Gen::SetArrField( $sett, array( 'cache', 'procEngn' ), 1 );
     1224    }
     1225
     1226    if( $verFrom && $verFrom < 192 )
     1227    {
     1228        Gen::SetArrField( $sett, array( 'contPr', 'cp', 'vhcThCarFldGall' ), true );
    12241229    }
    12251230
     
    21282133                'wooPrdGallSld' => true,
    21292134                'xstrThSwpr' => true,
     2135                'vhcThCarFldGall' => true,
    21302136                'bdeSwpr' => true,
    21312137                'bdeTabs' => true,
     
    21592165
    21602166                    'src:@\\.cloudflare\\.com/turnstile/@',
     2167
     2168                    'id:@^e-sticky-js$@',
    21612169                ),
    21622170
     
    22582266
    22592267                        'click:.//presto-player | .//presto-player-js-lzl-ing || .//presto-playlist | .//presto-playlist-js-lzl-ing',
     2268
     2269                        './/vehica-car-field-gallery',
    22602270                    ),
    22612271                ),
     
    42334243function GetViewTypeUserAgent( $viewsDeviceGrp )
    42344244{
    4235     return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 Seraph-Accel-Agent/2.28.18 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
     4245    return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 Seraph-Accel-Agent/2.28.19 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
    42364246}
    42374247
     
    44734483                    if( $repeatVal === true )
    44744484                        $bRepeat = true;
    4475                     else if( ( $tmCur - $repeatVal ) > ($settCacheGlobal[ 'procIntervalShort' ]??0) )
     4485                    else if( ( $tmCur - $repeatVal ) > 60 )
    44764486                        $bRepeat = true;
    44774487                    else
     
    57405750    $args = array( 'sslverify' => false, 'timeout' => $timeout, 'headers' => array() );
    57415751    if( $userAgentCmn )
    5742         $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.18';
     5752        $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.19';
    57435753
    57445754    if( $serverId = Net::UrlParse( $url ) )
     
    62566266    {
    62576267        if( !isset( $headers[ 'User-Agent' ] ) )
    6258             $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.18');
     6268            $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.19');
    62596269        $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] );
    62606270
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot

    r3489455 r3492783  
    77msgid ""
    88msgstr ""
    9 "#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.28.18)  #-#-#-#-#\n"
    10 "Project-Id-Version: seraphinite-accelerator 2.28.18\n"
     9"#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.28.19)  #-#-#-#-#\n"
     10"Project-Id-Version: seraphinite-accelerator 2.28.19\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.18)  #-#-#-#-#\n"
    16 "Project-Id-Version: seraphinite-accelerator 2.28.18\n"
     15"#-#-#-#-#  main.admin.pot (seraphinite-accelerator 2.28.19)  #-#-#-#-#\n"
     16"Project-Id-Version: seraphinite-accelerator 2.28.19\n"
    1717"Report-Msgid-Bugs-To: support@s-sols.com\n"
    1818"MIME-Version: 1.0\n"
     
    952952msgstr ""
    953953
     954# Remote processing quota is reached
     955msgctxt "admin.Manage_Queue"
     956msgid "EngineRemoteQuotaReached"
     957msgstr ""
     958
    954959# Remote processing is busy
    955960msgctxt "admin.Manage_Queue"
     
    21382143msgstr ""
    21392144
     2145# Apply even to non-cached content
    21402146msgctxt "admin.Settings_Html_Rpl"
    21412147msgid "AlwaysChk"
     
    31333139msgstr ""
    31343140
     3141msgctxt "admin.Settings_Frames_ContParts"
     3142msgid "VhcThCarFldGallChk"
     3143msgstr ""
     3144
    31353145# Swiper Slider from Breakdance Elements
    31363146msgctxt "admin.Settings_Frames_ContParts"
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot

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

    r3489455 r3492783  
    4343function _AddMenus( $accepted = false )
    4444{
    45     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.18', __FILE__ ) );
     45    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.19', __FILE__ ) );
    4646    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' );
    4747    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' );
     
    12871287{
    12881288    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    1289     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.18' );
     1289    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.19' );
    12901290    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    12911291    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    15291529    $rmtCfg = PluginRmtCfg::Get();
    15301530
    1531     $urlLogoImg = add_query_arg( array( 'v' => '2.28.18' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
     1531    $urlLogoImg = add_query_arg( array( 'v' => '2.28.19' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
    15321532    $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' );
    15331533
     
    16501650
    16511651    case 168:
    1652         $dtTest -> setISODate( $dtCurVals[ DateTime::FMT_YEAR ], $dtCurVals[ DateTime::FMT_WEEK ], SettTimeoutEditor_GetDays( $timeItemTm ) % 7 + 1 ) -> setTime( SettTimeoutEditor_GetHours( $timeItemTm ), SettTimeoutEditor_GetMins( $timeItemTm ) );
     1652        $dtTest -> setISODate( $dtCurVals[ DateTime::FMT_YEAR_FOR_WEEK ], $dtCurVals[ DateTime::FMT_WEEK ], SettTimeoutEditor_GetDays( $timeItemTm ) % 7 + 1 ) -> setTime( SettTimeoutEditor_GetHours( $timeItemTm ), SettTimeoutEditor_GetMins( $timeItemTm ) );
    16531653        $operPrms = array( DateTime::FMT_WEEK_USINGFIRSTDAY, 'FromWeeks' );
    16541654        break;
     
    23992399            if( $error == 'engineRemoteAccessDenied' || $error == 'engineRemoteNoLicense' )
    24002400                $error = esc_html_x( 'EngineRemoteAccessDenied', 'admin.Manage_Queue', 'seraphinite-accelerator' );
     2401            else if( $error == 'engineRemoteQuotaReached' )
     2402                $error = esc_html_x( 'EngineRemoteQuotaReached', 'admin.Manage_Queue', 'seraphinite-accelerator' );
    24012403            else
    24022404                $error = esc_html_x( 'EngineRemoteBusy', 'admin.Manage_Queue', 'seraphinite-accelerator' );
     
    24242426                if( $stateDscItem == 'engineRemoteAccessDenied' || $stateDscItem == 'engineRemoteNoLicense' )
    24252427                    $stateDscItem = esc_html_x( 'EngineRemoteAccessDenied', 'admin.Manage_Queue', 'seraphinite-accelerator' );
     2428                else if( $stateDscItem == 'engineRemoteQuotaReached' )
     2429                    $stateDscItem = esc_html_x( 'EngineRemoteQuotaReached', 'admin.Manage_Queue', 'seraphinite-accelerator' );
    24262430                else
    24272431                    $stateDscItem = esc_html_x( 'EngineRemoteBusy', 'admin.Manage_Queue', 'seraphinite-accelerator' );
  • seraphinite-accelerator/trunk/oper.php

    r3489455 r3492783  
    11571157    foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI )
    11581158        if( CacheOpViewsHeadersGetViewId( $viewIdI ) == 'cmn' )
    1159             $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.18' );
     1159            $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.19' );
    11601160
    11611161    if( ($settCache[ 'views' ]??null) )
  • seraphinite-accelerator/trunk/options.php

    r3489455 r3492783  
    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.18' );
     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.19' );
    145145    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    146146    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    40164016                            $fldId = 'contPr/cp/xstrThSwpr';
    40174017                            return( Ui::CheckBox( esc_html_x( 'XstrThSwprChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) );
     4018                        },
     4019
     4020                        function( $sett )
     4021                        {
     4022                            $fldId = 'contPr/cp/vhcThCarFldGall';
     4023                            return( Ui::CheckBox( esc_html_x( 'VhcThCarFldGallChk', 'admin.Settings_Frames_ContParts', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ) );
    40184024                        },
    40194025
     
    63616367        { $fldId = 'contPr/cp/wooPrdGallSld';               Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); }
    63626368        { $fldId = 'contPr/cp/xstrThSwpr';                  Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); }
     6369        { $fldId = 'contPr/cp/vhcThCarFldGall';             Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); }
    63636370        { $fldId = 'contPr/cp/bdeSwpr';                     Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); }
    63646371        { $fldId = 'contPr/cp/bdeTabs';                     Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); }
  • seraphinite-accelerator/trunk/plugin_root.php

    r3489455 r3492783  
    66Text Domain: seraphinite-accelerator
    77Domain Path: /languages
    8 Version: 2.28.18
     8Version: 2.28.19
    99Author: Seraphinite Solutions
    1010Author URI: https://www.s-sols.com
  • seraphinite-accelerator/trunk/readme.txt

    r3489455 r3492783  
    66Requires at least: 4.5
    77Tested up to: 6.9
    8 Stable tag: 2.28.18
     8Stable tag: 2.28.19
    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.19 =
     166
     167Improvements:
     168
     169* Cache clearing of Kinsta.
     170* Car Field Gallery of Vehica theme.
     171* HTML replacement: escaping placeholders.
     172
     173Fixes:
     174
     175* PHP error: Call to undefined function 'class_exist'.
     176* Wrong order of output buffering flushing while warming up the cache.
     177
    165178= 2.28.18 =
    166179
Note: See TracChangeset for help on using the changeset viewer.