Changeset 2959889
- Timestamp:
- 08/29/2023 12:52:34 PM (3 years ago)
- Location:
- page-optimize/trunk
- Files:
-
- 3 edited
-
page-optimize.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
service.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
page-optimize/trunk/page-optimize.php
r2890838 r2959889 5 5 Description: Optimizes JS and CSS for faster page load and render in the browser. 6 6 Author: Automattic 7 Version: 0.5. 37 Version: 0.5.4 8 8 Author URI: http://automattic.com/ 9 9 */ … … 273 273 } 274 274 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 275 286 // Bail if Divi theme is active, and we're in the Divi Front End Builder 276 287 if ( ! empty( $_GET['et_fb'] ) && 'Divi' === wp_get_theme()->get_template() ) { -
page-optimize/trunk/readme.txt
r2890838 r2959889 5 5 Tested up to: 6.2 6 6 Requires PHP: 7.4 7 Stable tag: 0.5. 37 Stable tag: 0.5.4 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 == Changelog == 51 51 52 = 0.5.4 = 53 * Bail when editing pages or posts in the Editor. Increased the max concatenated file limit. 54 52 55 = 0.5.1 = 53 56 * Bail when editing pages in Brizy Editor (it errors when JavaScript load mode is `async`). -
page-optimize/trunk/service.php
r2890838 r2959889 85 85 86 86 /* Config */ 87 $concat_max_files = 150;87 $concat_max_files = 300; 88 88 $concat_unique = true; 89 89
Note: See TracChangeset
for help on using the changeset viewer.