Changeset 3312547
- Timestamp:
- 06/16/2025 01:02:42 PM (10 months ago)
- Location:
- seraphinite-accelerator
- Files:
-
- 143 added
- 15 edited
-
tags/2.27.32 (added)
-
tags/2.27.32/Admin.js (added)
-
tags/2.27.32/Cmn (added)
-
tags/2.27.32/Cmn/AdminUi.css (added)
-
tags/2.27.32/Cmn/AdminUi.js (added)
-
tags/2.27.32/Cmn/Cmn.js (added)
-
tags/2.27.32/Cmn/Db.php (added)
-
tags/2.27.32/Cmn/Ext (added)
-
tags/2.27.32/Cmn/Ext/JS (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/lazysizes.js (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/lazysizes.min.js (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/plugins (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/plugins/unveilhooks (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.js (added)
-
tags/2.27.32/Cmn/Ext/JS/lazysizes/plugins/unveilhooks/ls.unveilhooks.min.js (added)
-
tags/2.27.32/Cmn/Ext/PHP (added)
-
tags/2.27.32/Cmn/Ext/PHP/JShrink (added)
-
tags/2.27.32/Cmn/Ext/PHP/JShrink/Minifier.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/Options.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/PHPSQLParser.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/exceptions (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/exceptions/InvalidParameterException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCalculatePositionException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnableToCreateSQLException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/exceptions/UnsupportedFeatureException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/lexer (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/lexer/LexerSplitter.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/lexer/PHPSQLLexer.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/positions (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/positions/PositionCalculator.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/AbstractProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/BracketProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnDefinitionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ColumnListProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/CreateDefinitionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/CreateProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DefaultProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DeleteProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DescProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DescribeProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DropProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/DuplicateProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ExplainProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ExpressionListProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/FromProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/GroupByProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/HavingProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/IndexColumnListProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/IndexProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/InsertProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/IntoProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/LimitProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/OptionsProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/OrderByProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionDefinitionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/PartitionOptionsProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/RecordProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ReferenceDefinitionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/RenameProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ReplaceProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SQLChunkProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SQLProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SelectExpressionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SelectProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SetProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ShowProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/SubpartitionDefinitionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/TableProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/UnionProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/UpdateProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/UsingProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/ValuesProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/WhereProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/processors/WithProcessor.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/utils (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionToken.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/utils/ExpressionType.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/PHPSQLParser/utils/PHPSQLParserConstants.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port (added)
-
tags/2.27.32/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Colors.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Command.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Minifier.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/YUI-CSS-compressor-PHP-port/Utils.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/jsmin-php (added)
-
tags/2.27.32/Cmn/Ext/PHP/jsmin-php/JSMin.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/jsmin-php/UnterminatedCommentException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/jsmin-php/UnterminatedRegExpException.php (added)
-
tags/2.27.32/Cmn/Ext/PHP/jsmin-php/UnterminatedStringException.php (added)
-
tags/2.27.32/Cmn/Fs.php (added)
-
tags/2.27.32/Cmn/Gen.js (added)
-
tags/2.27.32/Cmn/Gen.php (added)
-
tags/2.27.32/Cmn/Img.php (added)
-
tags/2.27.32/Cmn/Net.js (added)
-
tags/2.27.32/Cmn/Plugin.php (added)
-
tags/2.27.32/Cmn/Ui.js (added)
-
tags/2.27.32/Cmn/Ui.php (added)
-
tags/2.27.32/Images (added)
-
tags/2.27.32/Images/ProductLogo.png (added)
-
tags/2.27.32/Images/Test.css (added)
-
tags/2.27.32/Images/Test.css.gz (added)
-
tags/2.27.32/Images/Test.js (added)
-
tags/2.27.32/Images/Test.js.gz (added)
-
tags/2.27.32/Images/Test.png (added)
-
tags/2.27.32/Images/Test.png.avif (added)
-
tags/2.27.32/Images/Test.png.webp (added)
-
tags/2.27.32/Images/VendorLogo.png (added)
-
tags/2.27.32/Images/hosting-icon-banner.svg (added)
-
tags/2.27.32/cache.php (added)
-
tags/2.27.32/cache_ext.php (added)
-
tags/2.27.32/cache_ext_CloudFlareHooksEx.php (added)
-
tags/2.27.32/cache_obj.php (added)
-
tags/2.27.32/common.php (added)
-
tags/2.27.32/content.php (added)
-
tags/2.27.32/content_css.php (added)
-
tags/2.27.32/content_css_ex.php (added)
-
tags/2.27.32/content_ex.php (added)
-
tags/2.27.32/content_frm.php (added)
-
tags/2.27.32/content_img.php (added)
-
tags/2.27.32/content_js.php (added)
-
tags/2.27.32/htmlparser.php (added)
-
tags/2.27.32/icon.png (added)
-
tags/2.27.32/languages (added)
-
tags/2.27.32/languages/seraphinite-accelerator-Admin-en_US.json (added)
-
tags/2.27.32/languages/seraphinite-accelerator-Admin-ru_RU.json (added)
-
tags/2.27.32/languages/seraphinite-accelerator-Gen-en_US.json (added)
-
tags/2.27.32/languages/seraphinite-accelerator-Gen-ru_RU.json (added)
-
tags/2.27.32/languages/seraphinite-accelerator-admin-en_US.mo (added)
-
tags/2.27.32/languages/seraphinite-accelerator-admin-ru_RU.mo (added)
-
tags/2.27.32/languages/seraphinite-accelerator-admin.pot (added)
-
tags/2.27.32/languages/seraphinite-accelerator-en_US.mo (added)
-
tags/2.27.32/languages/seraphinite-accelerator-ru_RU.mo (added)
-
tags/2.27.32/languages/seraphinite-accelerator.pot (added)
-
tags/2.27.32/main.php (added)
-
tags/2.27.32/oper.php (added)
-
tags/2.27.32/options.php (added)
-
tags/2.27.32/plugin_root.php (added)
-
tags/2.27.32/readme.txt (added)
-
tags/2.27.32/sql.php (added)
-
tags/2.27.32/third-party-software.html (added)
-
tags/2.27.32/tune.php (added)
-
trunk/Cmn/Gen.php (modified) (1 diff)
-
trunk/Cmn/Plugin.php (modified) (15 diffs)
-
trunk/cache.php (modified) (2 diffs)
-
trunk/common.php (modified) (16 diffs)
-
trunk/languages/seraphinite-accelerator-admin-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-admin.pot (modified) (3 diffs)
-
trunk/languages/seraphinite-accelerator-en_US.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator-ru_RU.mo (modified) (previous)
-
trunk/languages/seraphinite-accelerator.pot (modified) (1 diff)
-
trunk/main.php (modified) (3 diffs)
-
trunk/oper.php (modified) (1 diff)
-
trunk/options.php (modified) (3 diffs)
-
trunk/plugin_root.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
seraphinite-accelerator/trunk/Cmn/Gen.php
r3310682 r3312547 3617 3617 $args[ 'provider' ] = 'CURL'; 3618 3618 if( !isset( $args[ 'user-agent' ] ) ) 3619 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.3 1';3619 $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.32'; 3620 3620 if( !isset( $args[ 'timeout' ] ) ) 3621 3621 $args[ 'timeout' ] = 5; -
seraphinite-accelerator/trunk/Cmn/Plugin.php
r3310682 r3312547 307 307 $args[ 'id' ] = 'wordpress-accelerator'; 308 308 $args[ 'name' ] = 'Accelerator'; 309 $args[ 'v' ] = '2.27.3 1';309 $args[ 'v' ] = '2.27.32'; 310 310 $args[ 'pk' ] = 'Base'; 311 311 $args[ 'cfg' ] = ''; … … 329 329 $lastCheckPackage = 'Base'; 330 330 331 if( $lastCheckVer !== '2.27.3 1' || $lastCheckPackage !== 'Base' )331 if( $lastCheckVer !== '2.27.32' || $lastCheckPackage !== 'Base' ) 332 332 { 333 333 $state = Plugin::StateGet(); 334 334 335 if( $lastCheckVer !== '2.27.3 1' && !isset( $state[ 'changeVerCheck' ] ) )335 if( $lastCheckVer !== '2.27.32' && !isset( $state[ 'changeVerCheck' ] ) ) 336 336 { 337 337 $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : ''; … … 350 350 if( !$bForce ) 351 351 { 352 if( $bFirstTimeOnly && $lastCheckVer == '2.27.3 1' )352 if( $bFirstTimeOnly && $lastCheckVer == '2.27.32' ) 353 353 return( Gen::S_FALSE ); 354 354 … … 369 369 $args[ 'id' ] = 'wordpress-accelerator'; 370 370 $args[ 'name' ] = 'Accelerator'; 371 $args[ 'v' ] = '2.27.3 1';371 $args[ 'v' ] = '2.27.32'; 372 372 $args[ 'pk' ] = 'Base'; 373 373 $args[ 'cfg' ] = ''; … … 386 386 { 387 387 $data[ 'updTime' ] = $curUpdTime; 388 $data[ 'plgVer' ] = '2.27.3 1';388 $data[ 'plgVer' ] = '2.27.32'; 389 389 $data[ 'plgPk' ] = 'Base'; 390 390 … … 403 403 $data[ 'mdfTime' ] = $timeMdf; 404 404 $data[ 'updTime' ] = $curUpdTime; 405 $data[ 'plgVer' ] = '2.27.3 1';405 $data[ 'plgVer' ] = '2.27.32'; 406 406 $data[ 'plgPk' ] = 'Base'; 407 407 … … 1204 1204 } 1205 1205 1206 static function AsyncTaskPushGetUrl( $id, $timeRun = null ) 1206 static function AsyncTaskPushGetTimerun( $timeRun ) 1207 { 1208 return( str_replace( '.', '_', sprintf( '%.20F', $timeRun ) ) ); 1209 } 1210 1211 static function AsyncTaskPushGetUrlEx( $urlBase, $id, $timeRun = null ) 1207 1212 { 1208 1213 … … 1210 1215 $timeRun = microtime( true ); 1211 1216 1212 return( Net::UrlAddArgsEx( Wp::GetSiteWpRootUrl( Gen::CallFunc( 'seraph_accel\\OnAsyncTasksGetPushUrlFile', array(), 'wp-cron.php' ) ), array( 'seraph_accel_at' => $id, 'rt' => str_replace( '.', '_', sprintf( '%.20F', $timeRun ) ) ) ) ); 1217 return( Net::UrlAddArgsEx( $urlBase, array( 'seraph_accel_at' => $id, 'rt' => Plugin::AsyncTaskPushGetTimerun( $timeRun ) ) ) ); 1218 } 1219 1220 static function AsyncTaskPushGetUrl( $id, $timeRun = null ) 1221 { 1222 return( Plugin::AsyncTaskPushGetUrlEx( Wp::GetSiteWpRootUrl( Gen::CallFunc( 'seraph_accel\\OnAsyncTasksGetPushUrlFile', array(), 'wp-cron.php' ) ), $id, $timeRun ) ); 1213 1223 } 1214 1224 … … 1439 1449 1440 1450 $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' ); 1441 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.3 1' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;1451 $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.32' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null; 1442 1452 $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' ); 1443 1453 $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' ); 1444 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.3 1' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;1454 $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.32' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null; 1445 1455 1446 1456 $urlEula = null; … … 1451 1461 1452 1462 { 1453 $version = esc_html( '2.27.3 1' );1463 $version = esc_html( '2.27.32' ); 1454 1464 1455 1465 $res .= Ui::TagOpen( 'div' ); … … 1500 1510 $rmtCfg = PluginRmtCfg::Get(); 1501 1511 1502 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.3 1' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;1512 $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.32' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null; 1503 1513 $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' ); 1504 1514 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' ); … … 2027 2037 2028 2038 $verFrom = self::_PrevVer_GetInt( $plgVerPrev ); 2029 $verTo = self::_PrevVer_GetInt( '2.27.3 1' );2039 $verTo = self::_PrevVer_GetInt( '2.27.32' ); 2030 2040 if( $verTo < $verFrom ) 2031 2041 list( $verTo, $verFrom ) = array( $verFrom, $verTo ); … … 2152 2162 continue; 2153 2163 2154 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.3 1' );2164 wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.32' ); 2155 2165 2156 2166 self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true; … … 2219 2229 $scrHndId = Plugin::CmnScriptId( $id ); 2220 2230 2221 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.3 1' );2231 wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.32' ); 2222 2232 if( $id == 'Gen' ) 2223 2233 Plugin::Loc_ScriptLoad( $scrHndId ); … … 2664 2674 var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>"; 2665 2675 sendDataUrl = sendDataUrl.replace( "{EndPointId}", encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) ); 2666 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.27.3 1" ) );2676 sendDataUrl = sendDataUrl.replace( "{PluginVersion}", encodeURI( "2.27.32" ) ); 2667 2677 sendDataUrl = sendDataUrl.replace( "{PluginMode}", encodeURI( "base" ) ); 2668 2678 sendDataUrl = sendDataUrl.replace( "{PluginPackage}", encodeURI( "Base" ) ); -
seraphinite-accelerator/trunk/cache.php
r3310682 r3312547 639 639 640 640 if( $bHdr ) 641 @header( 'X-Seraph-Accel-Cache: 2.27.3 1;' . $debugInfo );641 @header( 'X-Seraph-Accel-Cache: 2.27.32;' . $debugInfo ); 642 642 643 643 if( $bLog ) … … 1536 1536 { 1537 1537 $_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.3 1';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.32'; 1539 1539 } 1540 1540 -
seraphinite-accelerator/trunk/common.php
r3310682 r3312547 13 13 require_once( __DIR__ . '/Cmn/Plugin.php' ); 14 14 15 const PLUGIN_SETT_VER = 17 5;15 const PLUGIN_SETT_VER = 176; 16 16 const PLUGIN_DATA_VER = 1; 17 17 const PLUGIN_EULA_VER = 1; … … 1139 1139 } 1140 1140 1141 if( $verFrom && $verFrom < 176 ) 1142 { 1143 Gen::SetArrField( $sett, array( 'asyncSmpOpt' ), false ); 1144 } 1145 1141 1146 return( $sett ); 1142 1147 } … … 1199 1204 } 1200 1205 1201 function OnAsyncTasksGetPushUrlFile( )1202 { 1203 return( Gen::GetArrField( Plugin::SettGetGlobal(), array( 'asyncUseCron' ), true ) ? 'wp-cron.php' : 'index.php' );1206 function OnAsyncTasksGetPushUrlFile( $bForceIdx = false ) 1207 { 1208 return( !$bForceIdx && Gen::GetArrField( Plugin::SettGetGlobal(), array( 'asyncUseCron' ), true ) ? 'wp-cron.php' : 'index.php' ); 1204 1209 } 1205 1210 … … 2043 2048 './/a[@onclick]', 2044 2049 2050 './/button', 2051 2045 2052 './/*[starts-with(@href,"#elementor-action")]', 2046 2053 './/a[contains(concat(" ",normalize-space(@class)," ")," mobile-menu ")]', … … 2053 2060 './/a[contains(concat(" ",normalize-space(@class)," ")," wd-open-popup ")]', 2054 2061 './/a[starts-with(@href,"#grve-")]', 2055 './/button[contains(concat(" ",normalize-space(@class)," ")," elementskit-menu-toggler ")]', 2062 2056 2063 './/a[starts-with(@href,"#")][contains(concat(" ",normalize-space(@class)," ")," infinite-mm-menu-button ")]', 2057 2064 './/*[contains(concat(" ",normalize-space(@class)," ")," elementor-swiper-button ")]', … … 2061 2068 2062 2069 './/a[contains(concat(" ",normalize-space(@class)," ")," ajax_add_to_cart ")]', 2063 './/button[contains(concat(" ",normalize-space(@class)," ")," single_add_to_cart_button ")]',2064 './/button[contains(concat(" ",normalize-space(@class)," ")," addtocart_btn ")]',2065 2070 2066 2071 './/a[contains(concat(" ",normalize-space(@class)," ")," dt-mobile-menu-icon ")]', … … 2083 2088 './/*[contains(concat(" ",normalize-space(@class)," ")," product-video-button ")]/a', 2084 2089 2085 './/button[contains(concat(" ",normalize-space(@class)," ")," menu-toggle ")]',2086 2087 2090 './/a[@data-fslightbox="gallery"]', 2088 2091 … … 2093 2096 './/a[contains(concat(" ",normalize-space(@class)," ")," searchOpen ")]', 2094 2097 2095 './/button[contains(concat(" ",normalize-space(@class)," ")," uicore-toggle ")]',2096 2097 2098 './/a[contains(concat(" ",normalize-space(@class)," ")," bricks-button ")]', 2098 2099 './/button[contains(concat(" ",normalize-space(@class)," ")," e-n-menu-toggle ")]',2100 2099 2101 2100 './/img[contains(concat(" ",normalize-space(@class)," ")," swiper-slide-image ")]', … … 2260 2259 'wp-block-ultimate-post-slider' => array( 'enable' => true, 'descr' => 'Block Ultimate Post Slider', 'data' => "[class*=wp-block-ultimate-post-post-slider] .ultp-block-items-wrap:not(.slick-initialized) > .ultp-block-item:not(:first-child)\n{\n\tdisplay: none!important;\n}" ), 2261 2260 2262 'preloaders' => array( 'enable' => true, 'descr' => 'Preloaders', 'data' => "#pre-load, #preloader, #page_preloader, #page-preloader, #loader-wrapper, #royal_preloader, #loftloader-wrapper, #page-loading, #the7-body > #load, #loader, #loaded, #loader-container,\r\n.rokka-loader, .page-preloader-cover, .apus-page-loading, .medizco-preloder, e-page-transition, .loadercontent, .shadepro-preloader-wrap, .tslg-screen, .page-preloader, .pre-loading, .preloader-outer, .page-loader, .martfury-preloader, body.theme-dotdigital > .preloader, .loader-wrap, .site-loader, .pix-page-loading-bg, .pix-loading-circ-path, .mesh-loader, .lqd-preloader-wrap, .rey-sitePreloader, .et-loader, .preloader-plus {\r\n\tdisplay: none !important;\r\n}\r\n\r\nbody.royal_preloader {\r\n\tvisibility: hidden !important;\r\n}\r\n\r\n/*html body > :not(.preloader-plus) {\r\n\topacity: unset;\r\n}*/" ),2261 'preloaders' => array( 'enable' => true, 'descr' => 'Preloaders', 'data' => "#pre-load, #preloader, #page_preloader, #page-preloader, #loader-wrapper, #royal_preloader, #loftloader-wrapper, #page-loading, #the7-body > #load, #loader, #loaded, #loader-container,\r\n.rokka-loader, .page-preloader-cover, .apus-page-loading, .medizco-preloder, e-page-transition, .loadercontent, .shadepro-preloader-wrap, .tslg-screen, .page-preloader, .pre-loading, .preloader-outer, .page-loader, .martfury-preloader, body.theme-dotdigital > .preloader, .loader-wrap, .site-loader, .pix-page-loading-bg, .pix-loading-circ-path, .mesh-loader, .lqd-preloader-wrap, .rey-sitePreloader, .et-loader, .preloader-plus, .plwao-loader-wrap {\r\n\tdisplay: none !important;\r\n}\r\n\r\nbody.royal_preloader {\r\n\tvisibility: hidden !important;\r\n}\r\n\r\n/*html body > :not(.preloader-plus) {\r\n\topacity: unset;\r\n}*/" ), 2263 2262 2264 2263 'elementor-vis' => array( 'enable' => false, 'descr' => 'Elementor (visibility and animation)', 'data' => "body.seraph-accel-js-lzl-ing-ani .elementor-invisible {\r\n\tvisibility: visible !important;\r\n}\r\n\r\n.elementor-element[data-settings*=\"animation\\\"\"] {\r\n\tanimation-name: none !important;\r\n}" ), … … 2492 2491 'asyncMode' => '', 2493 2492 'asyncUseCmptNbr' => false, 2493 'asyncSmpOpt' => true, 2494 2494 ) ); 2495 2495 } … … 3997 3997 function GetViewTypeUserAgent( $viewsDeviceGrp ) 3998 3998 { 3999 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.3 1' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );3999 return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.32 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) ); 4000 4000 } 4001 4001 … … 4274 4274 $aCurItemsPrior[ $prior ] = true; 4275 4275 4276 Plugin::AsyncTaskPostEx( 'CacheProcessItem', ( int )($item[ 'tp' ]??0) == 0 && $asyncMode == 'ec', array( 'id' => $id, 'siteId' => $item[ 's' ] ) );4276 Plugin::AsyncTaskPostEx( 'CacheProcessItem', ( int )($item[ 'tp' ]??0) == 0 && ( $asyncMode == 'ec' || ($settGlobal[ 'asyncSmpOpt' ]??null) ), array( 'id' => $id, 'siteId' => $item[ 's' ] ) ); 4277 4277 4278 4278 } … … 4521 4521 } 4522 4522 4523 static function MakeRequest( $asyncMode, $method, $url, $hdrs , $timeout = 0 )4523 static function MakeRequest( $asyncMode, $method, $url, $hdrs = array(), $timeout = 0 ) 4524 4524 { 4525 4525 … … 4892 4892 if( $itemType == 0 ) 4893 4893 { 4894 $settGlobal = Plugin::SettGetGlobal(); 4894 4895 4895 4896 $asyncMode = null; … … 5287 5288 $args = array( 'sslverify' => false, 'timeout' => $timeout ); 5288 5289 if( $userAgentCmn ) 5289 $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.3 1';5290 $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.32'; 5290 5291 5291 5292 global $seraph_accel_g_aGetExtContentsFailedSrvs; … … 5737 5738 { 5738 5739 if( !isset( $headers[ 'User-Agent' ] ) ) 5739 $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.3 1');5740 $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.32'); 5740 5741 $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] ); 5741 5742 -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot
r3310682 r3312547 7 7 msgid "" 8 8 msgstr "" 9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.27.3 1) #-#-#-#-#\n"10 "Project-Id-Version: seraphinite-accelerator 2.27.3 1\n"9 "#-#-#-#-# cmn.admin.pot (seraphinite-accelerator 2.27.32) #-#-#-#-#\n" 10 "Project-Id-Version: seraphinite-accelerator 2.27.32\n" 11 11 "Report-Msgid-Bugs-To: support@s-sols.com\n" 12 12 "MIME-Version: 1.0\n" 13 13 "Content-Type: text/plain; charset=UTF-8\n" 14 14 "Content-Transfer-Encoding: 8bit\n" 15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.27.3 1) #-#-#-#-#\n"16 "Project-Id-Version: seraphinite-accelerator 2.27.3 1\n"15 "#-#-#-#-# main.admin.pot (seraphinite-accelerator 2.27.32) #-#-#-#-#\n" 16 "Project-Id-Version: seraphinite-accelerator 2.27.32\n" 17 17 "Report-Msgid-Bugs-To: support@s-sols.com\n" 18 18 "MIME-Version: 1.0\n" … … 3625 3625 msgstr "" 3626 3626 3627 msgctxt "admin.Settings_Advanced_Common" 3628 msgid "AsyncSmpOptChk" 3629 msgstr "" 3630 3627 3631 # Using external Cron requires additional setup. Please, read related %1$sdocumentation%2$s. 3628 3632 #, php-format … … 3725 3729 msgstr "" 3726 3730 3731 # Constant 'NONCE_SALT' or 'SERAPH_ACCEL_SALT' is not defined in 'wp-config.php' file. Pls, check this file for the missing conatant. It can be caused by some security plugin configuration. 3727 3732 msgctxt "admin.Notice" 3728 3733 msgid "WpSaltNotDefined" -
seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot
r3310682 r3312547 7 7 msgid "" 8 8 msgstr "" 9 "Project-Id-Version: seraphinite-accelerator 2.27.3 1\n"9 "Project-Id-Version: seraphinite-accelerator 2.27.32\n" 10 10 "Report-Msgid-Bugs-To: support@s-sols.com\n" 11 11 "MIME-Version: 1.0\n" -
seraphinite-accelerator/trunk/main.php
r3310682 r3312547 42 42 function _AddMenus( $accepted = false ) 43 43 { 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.3 1', __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.32', __FILE__ ) ); 45 45 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' ); 46 46 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' ); … … 1272 1272 { 1273 1273 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.3 1' );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.32' ); 1275 1275 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 1276 1276 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 1508 1508 $rmtCfg = PluginRmtCfg::Get(); 1509 1509 1510 $urlLogoImg = add_query_arg( array( 'v' => '2.27.3 1' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );1510 $urlLogoImg = add_query_arg( array( 'v' => '2.27.32' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) ); 1511 1511 $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' ); 1512 1512 -
seraphinite-accelerator/trunk/oper.php
r3310682 r3312547 1208 1208 foreach( $viewId === null ? array( 'cmn' ) : $viewId as $viewIdI ) 1209 1209 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.3 1' );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.32' ); 1211 1211 1212 1212 if( ($settCache[ 'views' ]??null) ) -
seraphinite-accelerator/trunk/options.php
r3310682 r3312547 142 142 143 143 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.3 1' );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.32' ); 145 145 Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) ); 146 146 wp_enqueue_script( Plugin::ScriptId( 'Admin' ) ); … … 5227 5227 } 5228 5228 5229 { 5230 $fldId = 'asyncSmpOpt'; 5231 $o .= ( Ui::Tag( 'p', Ui::CheckBox( esc_html_x( 'AsyncSmpOptChk', 'admin.Settings_Advanced_Common', 'seraphinite-accelerator' ), 'seraph_accel/' . $fldId, Gen::GetArrField( $sett, $fldId, false, '/' ), true ), array( 'class' => array( 'ns-', 'ns-loc', 'ns-re_r', 'ns-re' ), 'style' => array( 'padding-left' => '1.5em', 'display' => 'none' ) ) ) ); 5232 } 5233 5229 5234 $o .= ( Ui::Tag( 'p', vsprintf( _x( 'AsyncMode_ExtCronDsc_%1$s%2$s', 'admin.Settings_Advanced_Common', 'seraphinite-accelerator' ), Ui::Link( array( '', '' ), Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Help.Settings_Advanced_ExtCron' ) ) ), array( 'class' => 'description ns-ec', 'style' => array( 'padding-left' => '1.5em', 'display' => 'none' ) ) ) ); 5230 5235 } … … 5533 5538 { $fldId = 'asyncUseCron'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5534 5539 { $fldId = 'asyncUseCmptNbr'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5540 { $fldId = 'asyncSmpOpt'; Gen::SetArrField( $sett, $fldId, isset( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5535 5541 { $fldId = 'asyncMode'; Gen::SetArrField( $sett, $fldId, Gen::SanitizeId( $args[ 'seraph_accel/' . $fldId ] ), '/' ); } 5536 5542 -
seraphinite-accelerator/trunk/plugin_root.php
r3310682 r3312547 6 6 Text Domain: seraphinite-accelerator 7 7 Domain Path: /languages 8 Version: 2.27.3 18 Version: 2.27.32 9 9 Author: Seraphinite Solutions 10 10 Author URI: https://www.s-sols.com -
seraphinite-accelerator/trunk/readme.txt
r3310682 r3312547 6 6 Requires at least: 4.5 7 7 Tested up to: 6.8 8 Stable tag: 2.27.3 18 Stable tag: 2.27.32 9 9 License: GPLv2 or later (if another license is not provided) 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 163 163 == Changelog == 164 164 165 = 2.27.32 = 166 167 Improvements: 168 169 * Simple thread of optimization. 170 165 171 = 2.27.31 = 166 172
Note: See TracChangeset
for help on using the changeset viewer.