Plugin Directory

Changeset 2959889


Ignore:
Timestamp:
08/29/2023 12:52:34 PM (3 years ago)
Author:
rcrdortiz
Message:

Update Page Optimize to 0.5.4

Location:
page-optimize/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • page-optimize/trunk/page-optimize.php

    r2890838 r2959889  
    55Description: Optimizes JS and CSS for faster page load and render in the browser.
    66Author: Automattic
    7 Version: 0.5.3
     7Version: 0.5.4
    88Author URI: http://automattic.com/
    99*/
     
    273273    }
    274274
     275    // Bail if we're in any of the excluded pages.
     276    global $pagenow;
     277    $excluded_pages = array(
     278        'post.php',
     279        'post-new.php',
     280        'site-editor.php',
     281    );
     282    if ( isset( $pagenow ) && in_array( $pagenow, $excluded_pages ) ) {
     283        return true;
     284    }
     285
    275286    // Bail if Divi theme is active, and we're in the Divi Front End Builder
    276287    if ( ! empty( $_GET['et_fb'] ) && 'Divi' === wp_get_theme()->get_template() ) {
  • page-optimize/trunk/readme.txt

    r2890838 r2959889  
    55Tested up to: 6.2
    66Requires PHP: 7.4
    7 Stable tag: 0.5.3
     7Stable tag: 0.5.4
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050== Changelog ==
    5151
     52= 0.5.4 =
     53* Bail when editing pages or posts in the Editor. Increased the max concatenated file limit.
     54
    5255= 0.5.1 =
    5356* Bail when editing pages in Brizy Editor (it errors when JavaScript load mode is `async`).
  • page-optimize/trunk/service.php

    r2890838 r2959889  
    8585
    8686    /* Config */
    87     $concat_max_files = 150;
     87    $concat_max_files = 300;
    8888    $concat_unique = true;
    8989
Note: See TracChangeset for help on using the changeset viewer.