Changeset 2916759
- Timestamp:
- 05/24/2023 10:36:44 AM (3 years ago)
- Location:
- ezcache
- Files:
-
- 96 added
- 5 edited
-
tags/1.6.2 (added)
-
tags/1.6.2/advanced-cache.php (added)
-
tags/1.6.2/assets (added)
-
tags/1.6.2/assets/dist (added)
-
tags/1.6.2/assets/dist/css (added)
-
tags/1.6.2/assets/dist/css/options.css (added)
-
tags/1.6.2/assets/dist/css/options.css.map (added)
-
tags/1.6.2/assets/dist/js (added)
-
tags/1.6.2/assets/dist/js/options.js (added)
-
tags/1.6.2/assets/dist/js/options.js.LICENSE.txt (added)
-
tags/1.6.2/assets/dist/js/options.js.map (added)
-
tags/1.6.2/assets/images (added)
-
tags/1.6.2/changelog.txt (added)
-
tags/1.6.2/ezcache.php (added)
-
tags/1.6.2/includes (added)
-
tags/1.6.2/includes/Admin.php (added)
-
tags/1.6.2/includes/BackgroundProcesses (added)
-
tags/1.6.2/includes/BackgroundProcesses/ConvertWebpProcess.php (added)
-
tags/1.6.2/includes/Cache.php (added)
-
tags/1.6.2/includes/FileOptimizer (added)
-
tags/1.6.2/includes/FileOptimizer/BaseFileOptimizer.php (added)
-
tags/1.6.2/includes/FileOptimizer/CombineGoogleFonts.php (added)
-
tags/1.6.2/includes/FileOptimizer/CssCombiner.php (added)
-
tags/1.6.2/includes/FileOptimizer/CssMinifier.php (added)
-
tags/1.6.2/includes/FileOptimizer/JsCombiner.php (added)
-
tags/1.6.2/includes/FileOptimizer/JsMinifier.php (added)
-
tags/1.6.2/includes/FileOptimizer/WebpConverter.php (added)
-
tags/1.6.2/includes/LicenseApi.php (added)
-
tags/1.6.2/includes/Rest (added)
-
tags/1.6.2/includes/Rest/CacheController.php (added)
-
tags/1.6.2/includes/Rest/LicenseController.php (added)
-
tags/1.6.2/includes/Rest/SettingsController.php (added)
-
tags/1.6.2/includes/Rest/StatusController.php (added)
-
tags/1.6.2/includes/RestApi.php (added)
-
tags/1.6.2/includes/Settings.php (added)
-
tags/1.6.2/includes/ThirdParty (added)
-
tags/1.6.2/includes/ThirdParty/Minify_CSS_UriRewriter.php (added)
-
tags/1.6.2/includes/ThirdParty/Minify_HTML.php (added)
-
tags/1.6.2/includes/Updater.php (added)
-
tags/1.6.2/includes/Utilities (added)
-
tags/1.6.2/includes/Utilities/Encrypter.php (added)
-
tags/1.6.2/includes/Utilities/Logger.php (added)
-
tags/1.6.2/includes/WebpApi.php (added)
-
tags/1.6.2/index.php (added)
-
tags/1.6.2/languages (added)
-
tags/1.6.2/languages/ezcache-he_IL.mo (added)
-
tags/1.6.2/languages/ezcache-he_IL.po (added)
-
tags/1.6.2/languages/ezcache-xx_XX.pot (added)
-
tags/1.6.2/readme.txt (added)
-
tags/1.6.2/uninstall.php (added)
-
tags/1.6.2/vendor (added)
-
tags/1.6.2/vendor/autoload.php (added)
-
tags/1.6.2/vendor/composer (added)
-
tags/1.6.2/vendor/composer/ClassLoader.php (added)
-
tags/1.6.2/vendor/composer/LICENSE (added)
-
tags/1.6.2/vendor/composer/autoload_classmap.php (added)
-
tags/1.6.2/vendor/composer/autoload_namespaces.php (added)
-
tags/1.6.2/vendor/composer/autoload_psr4.php (added)
-
tags/1.6.2/vendor/composer/autoload_real.php (added)
-
tags/1.6.2/vendor/composer/autoload_static.php (added)
-
tags/1.6.2/vendor/composer/installed.json (added)
-
tags/1.6.2/vendor/composer/platform_check.php (added)
-
tags/1.6.2/vendor/matthiasmullie (added)
-
tags/1.6.2/vendor/matthiasmullie/minify (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/CONTRIBUTING.md (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/Dockerfile (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/LICENSE (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/bin (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/bin/minifycss (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/bin/minifyjs (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/composer.json (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/keywords_after.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/keywords_before.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/keywords_reserved.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/operators.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/operators_after.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/data/js/operators_before.txt (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/docker-compose.yml (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/CSS.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Exception.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Exceptions (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Exceptions/BasicException.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Exceptions/FileImportException.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Exceptions/IOException.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/JS.php (added)
-
tags/1.6.2/vendor/matthiasmullie/minify/src/Minify.php (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/LICENSE (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/composer.json (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/src (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/src/Converter.php (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/src/ConverterInterface.php (added)
-
tags/1.6.2/vendor/matthiasmullie/path-converter/src/NoConverter.php (added)
-
trunk/changelog.txt (modified) (1 diff)
-
trunk/ezcache.php (modified) (4 diffs)
-
trunk/includes/FileOptimizer/BaseFileOptimizer.php (modified) (1 diff)
-
trunk/includes/FileOptimizer/JsCombiner.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ezcache/trunk/changelog.txt
r2892153 r2916759 1 = 1.6.2 = 2 - Fix external JS files not being ignored while combining 3 - Added an exclusion for Elementor per-page JS/CSS files so that the manual exclusion is no longer required 4 1 5 = 1.6.1 = 2 6 - Fix problem setting up scheduled task for old cache cleanup -
ezcache/trunk/ezcache.php
r2892153 r2916759 4 4 Description: ezCache is an easy and innovative cache plugin that will help you significantly improve your site speed. 5 5 Plugin URI: https://ezcache.app 6 Version: 1.6. 16 Version: 1.6.2 7 7 Author: uPress 8 8 Author URI: https://www.upress.io … … 36 36 define( 'EZCACHE_URL', plugin_dir_url( __FILE__ ) ); 37 37 define( 'EZCACHE_BASEBANE', basename( __FILE__ ) ); 38 define( 'EZCACHE_VERSION', '1.6. 1' );38 define( 'EZCACHE_VERSION', '1.6.2' ); 39 39 define( 'EZCACHE_SETTINGS_KEY', 'ezcache' ); 40 40 … … 176 176 $wp_config_path = $this->get_wp_config_path(); 177 177 178 $handle = @fopen( $wp_config_path, 'r+' );179 if ( ! $handle ) {180 return;181 }182 183 178 copy( $wp_config_path, $wp_config_path . '.backup' ); 184 179 185 $contents = fread( $handle, filesize( $wp_config_path ) ); 180 $contents = file_get_contents( $wp_config_path ); 181 $contents = preg_replace( "/\r\n|\r|\n/", "\n", $contents ); // normalize line-breaks 186 182 187 183 // update wp-config define … … 202 198 } 203 199 204 ftruncate( $handle, 0 ); 205 rewind( $handle ); 206 fwrite( $handle, $contents ); 207 fclose( $handle ); 200 if ( "\n" !== PHP_EOL ) { 201 // update line-breaks to platform defaults 202 $contents = preg_replace( "/\n/", PHP_EOL, $contents ); 203 } 204 205 file_put_contents( $wp_config_path, trim( $contents ) ); 206 207 if ( filesize( $wp_config_path ) <= 0 ) { 208 // operation failed, revert the file 209 copy( $wp_config_path . '.backup', $wp_config_path ); 210 } 208 211 209 212 unlink( $wp_config_path . '.backup' ); -
ezcache/trunk/includes/FileOptimizer/BaseFileOptimizer.php
r2247507 r2916759 74 74 $excluded_files = preg_split( "/\\r\\n|\\r|\\n/u", trim( $excluded_files ), -1, PREG_SPLIT_NO_EMPTY ); 75 75 $excluded_files = array_filter( $excluded_files ); 76 $excluded_files = array_merge( $excluded_files, ['elementor/css/post-'] ); 77 $excluded_files = array_unique( $excluded_files ); 76 78 $excluded_files = apply_filters( 'ezcache_excluded_minify_files', $excluded_files ); 77 79 foreach ( $excluded_files as $file ) { -
ezcache/trunk/includes/FileOptimizer/JsCombiner.php
r2812876 r2916759 116 116 } 117 117 118 if ( $this->is_minify_excluded_file( $matches ) ) { 119 return []; 120 } 121 118 122 if ( $this->is_external_file( $matches[2] ) ) { 119 123 foreach ( $this->get_excluded_external_file_path() as $excluded_file ) { … … 129 133 130 134 return $script; 131 }132 133 if ( $this->is_minify_excluded_file( $matches ) ) {134 return [];135 135 } 136 136 -
ezcache/trunk/readme.txt
r2892153 r2916759 35 35 36 36 == Changelog == 37 = 1.6.2 = 38 - Fix external JS files not being ignored while combining 39 - Added an exclusion for Elementor per-page JS/CSS files so that the manual exclusion is no longer required 40 37 41 = 1.6.1 = 38 42 - Fix problem setting up scheduled task for old cache cleanup
Note: See TracChangeset
for help on using the changeset viewer.