Plugin Directory

Changeset 3276048


Ignore:
Timestamp:
04/17/2025 04:09:16 PM (10 months ago)
Author:
seraphinitesoft
Message:

seraphinite-accelerator: 2.27.20.

Location:
seraphinite-accelerator
Files:
143 added
15 edited

Legend:

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

    r3233556 r3276048  
    265265        'roff'    => 'application/x-troff',
    266266        'rpm'     => 'application/x-rpm',
     267        'rss'     => 'application/rss+xml',
    267268        'rtf'     => 'text/rtf',
    268269        'rtx'     => 'text/richtext',
  • seraphinite-accelerator/trunk/Cmn/Gen.php

    r3271857 r3276048  
    10001000    }
    10011001
     1002    static function FileGetContents( $file )
     1003    {
     1004        return( @file_exists( $file ) ? @file_get_contents( $file ) : false );
     1005    }
     1006
     1007    static function FilePutContents( $file, $data )
     1008    {
     1009        if( is_dir( $file ) )
     1010            Gen::DelDir( $file );
     1011        return( @file_put_contents( $file, $data ) );
     1012    }
     1013
    10021014    static function SetLastSlash( $filepath, $set = true, $slash = '/' )
    10031015    {
     
    14001412            ob_end_flush();
    14011413        flush();
    1402 
    1403         error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR );
    14041414
    14051415        return( Gen::CloseCurRequestSessionForContinueBgWorkEx() );
     
    36103620            $args[ 'provider' ] = 'CURL';
    36113621        if( !isset( $args[ 'user-agent' ] ) )
    3612             $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.19';
     3622            $args[ 'user-agent' ] = 'seraph-accel-Agent/2.27.20';
    36133623        if( !isset( $args[ 'timeout' ] ) )
    36143624            $args[ 'timeout' ] = 5;
  • seraphinite-accelerator/trunk/Cmn/Img.php

    r3261502 r3276048  
    3434    {
    3535
    36         $data = @file_get_contents( $file );
     36        $data = Gen::FileGetContents( $file );
    3737        return( $data !== false ? Img::GetInfoFromData( $data, $ext ) : null );
    3838    }
     
    330330            if( $hr == Gen::S_OK )
    331331            {
    332                 $res = @file_get_contents( $file );
     332                $res = Gen::FileGetContents( $file );
    333333                if( $res === false )
    334334                {
     
    741741            else if( $fileIsTmp )
    742742            {
    743                 $res = @file_get_contents( $file );
     743                $res = Gen::FileGetContents( $file );
    744744                if( $res === false )
    745745                {
     
    858858            else if( $fileIsTmp )
    859859            {
    860                 $res = @file_get_contents( $file );
     860                $res = Gen::FileGetContents( $file );
    861861                if( $res === false )
    862862                {
  • seraphinite-accelerator/trunk/Cmn/Plugin.php

    r3271857 r3276048  
    292292            $args[ 'id' ] = 'wordpress-accelerator';
    293293            $args[ 'name' ] = 'Accelerator';
    294             $args[ 'v' ] = '2.27.19';
     294            $args[ 'v' ] = '2.27.20';
    295295            $args[ 'pk' ] = 'Base';
    296296            $args[ 'cfg' ] = '';
     
    314314            $lastCheckPackage = 'Base';
    315315
    316         if( $lastCheckVer !== '2.27.19' || $lastCheckPackage !== 'Base' )
     316        if( $lastCheckVer !== '2.27.20' || $lastCheckPackage !== 'Base' )
    317317        {
    318318            $state = Plugin::StateGet();
    319319
    320             if( $lastCheckVer !== '2.27.19' && !isset( $state[ 'changeVerCheck' ] ) )
     320            if( $lastCheckVer !== '2.27.20' && !isset( $state[ 'changeVerCheck' ] ) )
    321321            {
    322322                $state[ 'changeVerCheck' ] = $lastCheckVer !== null ? $lastCheckVer : '';
     
    335335        if( !$bForce )
    336336        {
    337             if( $bFirstTimeOnly && $lastCheckVer == '2.27.19' )
     337            if( $bFirstTimeOnly && $lastCheckVer == '2.27.20' )
    338338                return( Gen::S_FALSE );
    339339
     
    354354            $args[ 'id' ] = 'wordpress-accelerator';
    355355            $args[ 'name' ] = 'Accelerator';
    356             $args[ 'v' ] = '2.27.19';
     356            $args[ 'v' ] = '2.27.20';
    357357            $args[ 'pk' ] = 'Base';
    358358            $args[ 'cfg' ] = '';
     
    371371            {
    372372                $data[ 'updTime' ] = $curUpdTime;
    373                 $data[ 'plgVer' ] = '2.27.19';
     373                $data[ 'plgVer' ] = '2.27.20';
    374374                $data[ 'plgPk' ] = 'Base';
    375375
     
    388388        $data[ 'mdfTime' ] = $timeMdf;
    389389        $data[ 'updTime' ] = $curUpdTime;
    390         $data[ 'plgVer' ] = '2.27.19';
     390        $data[ 'plgVer' ] = '2.27.20';
    391391        $data[ 'plgPk' ] = 'Base';
    392392
     
    14221422
    14231423        $urlProductInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductInfo' );
    1424         $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.19' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
     1424        $urlAboutPluginImg = file_exists( __DIR__ . '/../Images/ProductLogo.png' ) ? add_query_arg( array( 'v' => '2.27.20' ), Plugin::FileUri( '../Images/ProductLogo.png', __FILE__ ) ) : null;
    14251425        $urlAboutPluginDocs = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductDocs' );
    14261426        $urlAboutPluginSupport = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlProductSupport' );
    1427         $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.19' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
     1427        $url3rdPartySoft = file_exists( __DIR__ . '/../third-party-software.html' ) ? add_query_arg( array( 'v' => '2.27.20' ), Plugin::FileUri( '../third-party-software.html', __FILE__ ) ) : null;
    14281428
    14291429        $urlEula = null;
     
    14341434
    14351435        {
    1436             $version = esc_html( '2.27.19' );
     1436            $version = esc_html( '2.27.20' );
    14371437
    14381438            $res .= Ui::TagOpen( 'div' );
     
    14831483        $rmtCfg = PluginRmtCfg::Get();
    14841484
    1485         $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.19' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
     1485        $urlAboutUsLogoImg = file_exists( __DIR__ . '/../Images/VendorLogo.png' ) ? add_query_arg( array( 'v' => '2.27.20' ), Plugin::FileUri( '../Images/VendorLogo.png', __FILE__ ) ) : null;
    14861486        $urlMorePlugins = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMorePlugins' );
    14871487        $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlMain' );
     
    20102010
    20112011            $verFrom = self::_PrevVer_GetInt( $plgVerPrev );
    2012             $verTo = self::_PrevVer_GetInt( '2.27.19' );
     2012            $verTo = self::_PrevVer_GetInt( '2.27.20' );
    20132013            if( $verTo < $verFrom )
    20142014                list( $verTo, $verFrom ) = array( $verFrom, $verTo );
     
    21352135                continue;
    21362136
    2137             wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.19' );
     2137            wp_enqueue_style( Plugin::CmnScriptId( $id ), add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.css' ), array(), '2.27.20' );
    21382138
    21392139            self::$g_aAlreadyIncludedObj[ 'css' ][ $id ] = true;
     
    22022202            $scrHndId = Plugin::CmnScriptId( $id );
    22032203
    2204             wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.19' );
     2204            wp_register_script( $scrHndId, add_query_arg( Plugin::GetFileUrlPackageParams(), $fileUrl . '/' . $id . '.js' ), $deps, '2.27.20' );
    22052205            if( $id == 'Gen' )
    22062206                Plugin::Loc_ScriptLoad( $scrHndId );
     
    26472647                            var sendDataUrl = "<?php echo( Gen::GetArrField( $rmtCfg, 'Questionnaires.SendAnswerUrlTpl' ) ); ?>";
    26482648                            sendDataUrl = sendDataUrl.replace( "{EndPointId}",                  encodeURI( "<?php echo( Wp::GetSiteId() ); ?>" ) );
    2649                             sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.19" ) );
     2649                            sendDataUrl = sendDataUrl.replace( "{PluginVersion}",               encodeURI( "2.27.20" ) );
    26502650                            sendDataUrl = sendDataUrl.replace( "{PluginMode}",                  encodeURI( "base" ) );
    26512651                            sendDataUrl = sendDataUrl.replace( "{PluginPackage}",               encodeURI( "Base" ) );
  • seraphinite-accelerator/trunk/cache.php

    r3271857 r3276048  
    532532        if( $seraph_accel_g_prepPrms === null )
    533533        {
    534             $bgEnabled = Gen::CloseCurRequestSessionForContinueBgWork();
     534            if( $bgEnabled = Gen::CloseCurRequestSessionForContinueBgWork() )
     535                CacheFem();
    535536
    536537            $seraph_accel_g_noFo = true;
     
    612613
    613614    if( $bHdr )
    614         @header( 'X-Seraph-Accel-Cache: 2.27.19;' . $debugInfo );
     615        @header( 'X-Seraph-Accel-Cache: 2.27.20;' . $debugInfo );
    615616
    616617    if( $bLog )
     
    767768        case 'txt':     $objSubType = 'text/plain; charset=UTF-8'; break;
    768769        case 'bin':     $objSubType = 'application/octet-stream'; break;
     770        case 'rss':     $objSubType = 'application/rss+xml; charset=UTF-8'; break;
    769771        default:        $objSubType = 'text/html; charset=UTF-8'; break;
    770772        }
     
    15071509    {
    15081510        $_SERVER[ 'SERAPH_ACCEL_ORIG_USER_AGENT' ] = ($_SERVER[ 'HTTP_USER_AGENT' ]??'');
    1509         $_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.19';
     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.20';
    15101512    }
    15111513
  • seraphinite-accelerator/trunk/common.php

    r3271857 r3276048  
    30363036function CacheFem()
    30373037{
     3038
    30383039    @error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR );
    30393040    @ini_set( 'display_errors', 'Off' );
     3041
     3042    set_error_handler(
     3043        function( $errno, $errstr, $errfile, $errline, $errcontext = null )
     3044        {
     3045            if( $errno & ( E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR ) )
     3046                return( false );
     3047            return( true );
     3048        }
     3049    );
    30403050}
    30413051
     
    39083918function GetViewTypeUserAgent( $viewsDeviceGrp )
    39093919{
    3910     return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.19 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
     3920    return( 'Mozilla/99999.9 AppleWebKit/9999999.99 (KHTML, like Gecko) Chrome/999999.0.9999.99 Safari/9999999.99 seraph-accel-Agent/2.27.20 ' . ucwords( implode( ' ', Gen::GetArrField( $viewsDeviceGrp, array( 'agents' ), array() ) ) ) );
    39113921}
    39123922
     
    51985208    $args = array( 'sslverify' => false, 'timeout' => $timeout );
    51995209    if( $userAgentCmn )
    5200         $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.19';
     5210        $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.20';
    52015211
    52025212    global $seraph_accel_g_aGetExtContentsFailedSrvs;
     
    56485658    {
    56495659        if( !isset( $headers[ 'User-Agent' ] ) )
    5650             $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.19');
     5660            $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.20');
    56515661        $headers[ 'User-Agent' ] = str_replace( 'seraph-accel-Agent/', 'seraph-accel-Agent-WarmUp/', $headers[ 'User-Agent' ] );
    56525662
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator-admin.pot

    r3271857 r3276048  
    77msgid ""
    88msgstr ""
    9 "#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.27.19)  #-#-#-#-#\n"
    10 "Project-Id-Version: seraphinite-accelerator 2.27.19\n"
     9"#-#-#-#-#  cmn.admin.pot (seraphinite-accelerator 2.27.20)  #-#-#-#-#\n"
     10"Project-Id-Version: seraphinite-accelerator 2.27.20\n"
    1111"Report-Msgid-Bugs-To: [email protected]\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.19)  #-#-#-#-#\n"
    16 "Project-Id-Version: seraphinite-accelerator 2.27.19\n"
     15"#-#-#-#-#  main.admin.pot (seraphinite-accelerator 2.27.20)  #-#-#-#-#\n"
     16"Project-Id-Version: seraphinite-accelerator 2.27.20\n"
    1717"Report-Msgid-Bugs-To: [email protected]\n"
    1818"MIME-Version: 1.0\n"
  • seraphinite-accelerator/trunk/languages/seraphinite-accelerator.pot

    r3271857 r3276048  
    77msgid ""
    88msgstr ""
    9 "Project-Id-Version: seraphinite-accelerator 2.27.19\n"
     9"Project-Id-Version: seraphinite-accelerator 2.27.20\n"
    1010"Report-Msgid-Bugs-To: [email protected]\n"
    1111"MIME-Version: 1.0\n"
  • seraphinite-accelerator/trunk/main.php

    r3271857 r3276048  
    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.19', __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.20', __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' );
     
    11311131    );
    11321132
    1133     $data = @file_get_contents( $dirTmp . '/' . $dirDbRoot . '/GeoLite2-Country.mmdb' );
     1133    $data = Gen::FileGetContents( $dirTmp . '/' . $dirDbRoot . '/GeoLite2-Country.mmdb' );
    11341134
    11351135    if( !is_string( $data ) )
     
    12611261{
    12621262    Plugin::CmnScripts( array( 'Cmn', 'Gen', 'Ui', 'Net', 'AdminUi' ) );
    1263     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.19' );
     1263    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.20' );
    12641264    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    12651265    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    14971497    $rmtCfg = PluginRmtCfg::Get();
    14981498
    1499     $urlLogoImg = add_query_arg( array( 'v' => '2.27.19' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
     1499    $urlLogoImg = add_query_arg( array( 'v' => '2.27.20' ), Plugin::FileUri( 'Images/hosting-icon-banner.svg', __FILE__ ) );
    15001500    $urlMoreInfo = Plugin::RmtCfgFld_GetLoc( $rmtCfg, 'Links.UrlHostingInfo' );
    15011501
  • seraphinite-accelerator/trunk/oper.php

    r3271857 r3276048  
    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.19' );
     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.20' );
    11961196
    11971197    if( ($settCache[ 'views' ]??null) )
     
    12581258{
    12591259    $file = WP_CONTENT_DIR . '/advanced-cache.php';
    1260     $cont = @file_get_contents( $file );
     1260    $cont = Gen::FileGetContents( $file );
    12611261
    12621262    if( IsEnvDropinLockedBy( $file, $cont ) )
     
    12801280
    12811281    $verifyEnvDropin -> needed = str_replace( '.0,', ',', ( string )GetObjCacheFileContent( $settGlob ) );
    1282     $verifyEnvDropin -> actual = str_replace( '.0,', ',', ( string )@file_get_contents( WP_CONTENT_DIR . '/object-cache.php' ) );
     1282    $verifyEnvDropin -> actual = str_replace( '.0,', ',', ( string )Gen::FileGetContents( WP_CONTENT_DIR . '/object-cache.php' ) );
    12831283
    12841284    if( $verifyEnvDropin -> actual == $verifyEnvDropin -> needed )
     
    12981298
    12991299    $verifyEnvDropin -> needed = CacheGetEnvNginxConf( $settGlob, $sett );
    1300     $verifyEnvDropin -> actual = @file_get_contents( CacheGetEnvNginxConfFile() );
     1300    $verifyEnvDropin -> actual = Gen::FileGetContents( CacheGetEnvNginxConfFile() );
    13011301    return( $verifyEnvDropin -> actual == $verifyEnvDropin -> needed );
    13021302}
     
    15481548{
    15491549    $file = WP_CONTENT_DIR . '/advanced-cache.php';
    1550     $cont = @file_get_contents( $file );
     1550    $cont = Gen::FileGetContents( $file );
    15511551    $hr = Gen::S_OK;
    15521552
     
    15841584    if( $cont != $contNew )
    15851585    {
    1586         $hr = Gen::HrAccom( $hr, @file_put_contents( $file, $contNew ) !== false ? Gen::S_OK : Gen::E_FAIL );
     1586        $hr = Gen::HrAccom( $hr, Gen::FilePutContents( $file, $contNew ) !== false ? Gen::S_OK : Gen::E_FAIL );
    15871587        _OpCache_Invalidate( $file );
    15881588    }
     
    15941594{
    15951595    $file = WP_CONTENT_DIR . '/object-cache.php';
    1596     $cont = @file_get_contents( $file );
     1596    $cont = Gen::FileGetContents( $file );
    15971597
    15981598    if( !$init && ( !$cont || strpos( $cont, '/* seraphinite-accelerator */' ) === false ) )
     
    16041604    if( $cont != $contNew )
    16051605    {
    1606         $hr = Gen::HrAccom( $hr, ( strlen( $contNew ) ? @file_put_contents( $file, $contNew ) : @unlink( $file ) ) !== false ? Gen::S_OK : Gen::E_FAIL );
     1606        $hr = Gen::HrAccom( $hr, ( strlen( $contNew ) ? Gen::FilePutContents( $file, $contNew ) : @unlink( $file ) ) !== false ? Gen::S_OK : Gen::E_FAIL );
    16071607        _OpCache_Invalidate( $file );
    16081608
     
    16421642
    16431643            $fileConfComprRedir = CacheGetEnvNginxConfFile();
    1644             if( @file_get_contents( $fileConfComprRedir ) !== $confComprRedirBlock )
    1645                 @file_put_contents( $fileConfComprRedir, $confComprRedirBlock );
     1644            if( Gen::FileGetContents( $fileConfComprRedir ) !== $confComprRedirBlock )
     1645                Gen::FilePutContents( $fileConfComprRedir, $confComprRedirBlock );
    16461646        }
    16471647
     
    18381838
    18391839        $fileConfComprRedir = CacheGetEnvNginxConfFile();
    1840         if( @file_get_contents( $fileConfComprRedir ) !== $confComprRedirBlock )
    1841             @file_put_contents( $fileConfComprRedir, $confComprRedirBlock );
     1840        if( Gen::FileGetContents( $fileConfComprRedir ) !== $confComprRedirBlock )
     1841            Gen::FilePutContents( $fileConfComprRedir, $confComprRedirBlock );
    18421842    }
    18431843
  • seraphinite-accelerator/trunk/options.php

    r3271857 r3276048  
    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.19' );
     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.20' );
    145145    Plugin::Loc_ScriptLoad( Plugin::ScriptId( 'Admin' ) );
    146146    wp_enqueue_script( Plugin::ScriptId( 'Admin' ) );
     
    11741174
    11751175                        {
     1176
    11761177                            $fldId = 'mime';
    11771178                            $o .= ( Ui::ComboBox(
     
    11821183                                    'text/plain' => 'text/plain',
    11831184                                    'text/html' => 'text/html',
     1185                                    'application/rss+xml' => 'application/rss+xml',
    11841186                                    'application/octet-stream' => 'application/octet-stream',
    11851187                                ),
  • seraphinite-accelerator/trunk/plugin_root.php

    r3271857 r3276048  
    66Text Domain: seraphinite-accelerator
    77Domain Path: /languages
    8 Version: 2.27.19
     8Version: 2.27.20
    99Author: Seraphinite Solutions
    1010Author URI: https://www.s-sols.com
  • seraphinite-accelerator/trunk/readme.txt

    r3271857 r3276048  
    66Requires at least: 4.5
    77Tested up to: 6.7
    8 Stable tag: 2.27.19
     8Stable tag: 2.27.20
    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.20 =
     166
     167Improvements:
     168
     169* Product gallery images of WooCommerce.
     170
     171Fixes:
     172
     173* Cache revalidation: Headers already sent by cache.php.
     174
    165175= 2.27.19 =
    166176
     
    41264136* CSS optimization: If script content is not changed then inlining is ignored.
    41274137* Cache is not reset if admin changes user depended data.
     4138* Cache revalidation: Headers already sent by cache.php.
    41284139* Call to undefined function: wpml_element_type_filter.
    41294140* Characters are stripped from image URLs.
Note: See TracChangeset for help on using the changeset viewer.