Enables the previous "classic" editor and the old-style Edit Post screen with TinyMCE, Meta Boxes, etc. Supports all…
About Merge + Minify + Refresh
This plugin combines and compresses CSS and JavaScript files to improve website loading times. It also supports HTTP2 Server Push and allows you to specify cache directories. Additionally, it has features for developers, such as the ability to disable merging and minification for certain WordPress roles or with certain page builders.Changelog
2.12
- Removed GLOB_BRACE which isn’t available on some non GNU systems
2.11
- Fix warning in php error log when accessed time is invalid
2.10
- Fix warning in php error log when WordPress date isn’t set correctly
2.9
- Only remove css and js url vars for files generated by MMR
2.8
- Change the way non UTF-8 files are detected for better support
- Fix depreciated encoding warning
2.7
- Add logging when generating gzip files
2.6
- Changed gzip to not require exec
- fixed gzip not working when minification is disabled
2.5
- Fix blank files being generated sometimes
2.4
- Fixed minify error when gzip enabled
2.3
- MMR now supports script defer/async
2.2
- Fixed css files not being merged
2.1
- Fixed merged files that don’t have a trailing semicolon causing syntax errors
- Fix syntax error caused by media being a boolean
2.0
- Updated Closure
- Updated PHP Minify
- Completely changed the way files are merged. Instead of merging all of the files and then minifying the entire merged file, it now minifys all of the files separatly before merging them. This allows the plugin to use the pre-minified versions of files, saving initial bandwidth on updates and processing time.
- Changed default behaviour to splitting on inline scripts and styles. This is considered safer than merging, but merging can be turned back on in the settings.
1.15.1
- Fix PHP warnings
1.15.0
- Resolve issue with inline CSS not being included
- Add ability to break merged files based on inline scripts/styles
- Set plugin minimum PHP version to 7.0
1.14.7
- Fix inline css and js not being enqueued correctly
- Disable inlining small CSS files
1.14.6
- Add MMR version to generated files – ensures plugin updates are applied
- Multisite files now use seperate directories – fixes purging issues
1.14.5
- Resolved an issue with inline scripts not working correctly.
1.14.4
- Remove depreciated warning notices about variables set that aren’t defined
1.14.3
- file_put_contents: added the LOCK_EX flag when writing to prevent anyone else writing to the file at the same time
- added modify_js_output_before_save and modify_css_output_before_save filters – Thanks to mewcrazy
1.14.2
- Add support for a decoupled WordPress configuration – Thanks to AbdulRaheem
1.14.1
- Upgrade Closure and PHP Minify
1.14.0
- Added ability to disable merging WordPress Global Styles
- Fixed issue with missing WordPress Global Styles
1.13.3
- Fix “String offset cast occurred” php notice
1.12.1
- Fix css minmax minifying incorrectly
1.12
- Upgrade Closure and PHP Minify
1.11.3
- Fix issue with css inline svgs breaking
1.11.2
- Ensure push urls include scheme for backwards compatability
1.11.1
- Disable push for external files
1.11
- Disable Google Closure Javascript minification with MMR_USE_CLOSURE constant
- Disable removing expired files with MMR_REMOVE_EXPIRED constant
- Enable push for ignored files
1.10.11
- Disable MMR when using WordPress Customiser
1.10.10
- Fix issue where JS/CSS would minify even if minification has been disabled
1.10.9
- Upgraded to latest version of closure
- Re-enabled HTTP2 push for when the server supports it
1.10.8
- Prevent php warning showing when handle path is invalid
1.10.7
- Fix Reported Security Vulnerability
- Upgrade Minify to latest version
1.10.6
- Prevent error if mbstring php extension isn’t installed. Thanks @zelon
1.10.5
- Convert Western Latin 1 Encoding to UTF8
- Added upgrade notice callback for future use
1.10.4
- Fixed Undefined variable: ext (thanks to @imsadhappy)
- Changed HTTP2 push to only preload
1.10.3
- Fixed issue with invalid file size calculations
1.10.2
- Fixed issue with merge_minify_refresh_done action not working correctly
1.10.1
- Code Cleanup
- Added ability to http2 push CSS or JS seperately
- Improved reliability of minification + added hourly cron to check
- Fix issue with mmr_minify action running multiple times
1.10
- Added should_mmr filter and split DIVI, Beaver Builder and Visual Composer checks into seperate plugins
- Code Cleanup
- Fix warning when running wp.cron.php directly
- Prevent failed to open stream error
- Added merge_minify_refresh_merged action
1.9.0
- Disable MMR when Divi theme is enabled and page is being edited
- Disable MMR when Beaver Builder is in use and page is being edited
- Upgrade Google Closure to the latest version
- Upgrade PHP Minify to the latest version
- Add check to see if @import is used in CSS file.
1.8.12
- Upgraded Closure to latest version
- Fixed MMR so it works when WordPress and wp-content are in non-standard locations
- Fixed MMR admin unecessarily updating log text
1.8.11
- Upgraded Minify and Closure to latest versions
1.8.10
- Fix for PHP < 7. Thanks to @Roy
1.8.9
- Fix for incorrect function name
1.8.8
- Multisite URL Fixes
- Added action that fires when JS or CSS has updated. Thanks to @lucasbustamante
- Update Closure to latest
1.8.7
- Update Java detection for Java 9+
- Clear scheduled hooks on purge and plugin deactivation
- Update Closure to latest
1.8.6
- Multisite Network Support
1.8.5
- Closure now works with string continuations (removed compatibility code)
- Fix potential bug with minification
1.8.4
- Fix issue with Last Accessed
- Fix issue with css files not being enqueued
1.8.3
- Fix issue with wp_localize_script data not being set correctly
1.8.2
- Massive code cleanup.
- Disable MMR in frontend edit mode of Visual Composer
1.8.1
- Ensure enqueued css/js have unique handles (fix for NEX-Forms)
1.8
- Updated Closure and Minify to latest versions
- Code cleanup
- MMR now checks file extension so that plugins that enqueue php files work (motopress etc.)
1.7.6
- Added Support for Gonzales. (https://tomasz-dobrzynski.com/wordpress-gonzales)
1.7.5
- Fix WordPress in subfolder identification issue. (Bedrock compatibility – Thanks plankguy)
1.7.4
- Fix usage of clone for php7 compatibility check (Thanks for the heads up mariodabek)
1.7.3
- Improve CSS concatenation (Thanks to fhoech)
1.7.2
- older versions of gzip don’t have the -keep flag
1.7.1
- Fix HTTP2 server push only adding header for one file & ignoring settings
1.7.0
- Added the ability to generate .css.gz & .js.gz files (Thanks to Marcus Svensson)
1.6.14
- Fix strange characters message when activating plugin
1.6.13
- Improvements to http2 push (thanks to Daniel Aleksandersen – https://ctrl.blog)
1.6.12
- Initialise wp_scripts & wp_styles if they haven’t loaded (Thanks Andrew Miguelez)
- Replace depreciated wp_clone with clone
- Improved java detection
- Upgrade to latest version of Minify
- Upgrade to latest version of Closure
1.6.11
- Ability to seperate cache urls for javascript and CSS (MMR_JS_CACHE_URL & MMR_CSS_CACHE_URL)
1.6.10
- Fix concatenation bug (thanks fhoech)
1.6.9
- Better support for CSS output to the page. This should fix some themes that break.
- Ability to specify cache directory added. Thanks to Daniel Aleksandersen for help with this.
- Minor code cleanup
1.6.8
- Fix External Styles/Scripts ordering
1.6.7
- Check Java version is sufficient for Google Closure to work
1.6.6
- Fix bugs introduced by 1.6.4
1.6.5
- Fix bugs introduced by 1.6.4
1.6.4
- Fix MMR when WordPress installed in a sub folder
1.6.3
- Ignore conditional scripts and styles
1.6.2
- Upgraded Minify to latest version
- Upgraded Closure to latest version
1.6.1
- MMR looks for non minified scripts and styles by default (eg. script.min.js = script.js). If found it will use them. This improves compatibility and can fix minification errors.
1.6
- Option to enable http2 server push (thanks to Daniel Aleksandersen – https://ctrl.blog)
- Option to enable output buffering for compatability and so footer scripts can be HTTP2 pushed
- Ability to turn off minification
- Ability to turn off concatination
- Reduced plugin memory usage by only including Minify when required
- Ability to manually ignore scripts or css
- Changed hashes from md5 to adler32 as it is faster
1.5.2
- Upgrade Minify to latest version
1.5.1
- Only load admin js & css on the mmr options page
1.5
- Display last accessed date in admin
- Remove unused variables
- Option to turn off merging
1.4.3
- Fix wrong variable name
1.4.2
- Append ; to merged script files to prevent javascript errors
1.4.1
- woocommerce compatability
1.4
- Remove unused code in insepect_scripts()
- Resolved issues with late enqued scripts and styles
- Changed code for removal of string continuations
- Stopped dequeing styles and scripts as we now use done
1.3
- Process styles/scriptes enqued within body of page in the footer
- Prevent scripts enqued within body of page outputting twice
- Clear previous processed files fully when purge all clicked
1.2
- Bugfix
1.1
- Only write admin ajax response when it has changed
- CSS now compressed using Minify
- JS compressed with Minify when Closure not available
1.0
- Don’t remove unminified files anymore for rare occasions when css or js return a 404 error
- Admin now updates automatically.
0.9
- Fix issue with scripts failing to compile because of remove_continuations
0.8
- Fix bug when javascript and css has same handle
0.7
- Bugfix
0.6
- Remove Javascript String Continuations
- Show queued scripts/css in admin
- Prevent YUI Compressor stripping 0 second units (minified transitions now work)
0.5
- Ensure file paths are absolute
- Use ABSPATH instead of DOCUMENT_ROOT
0.4
- Ignore CSS url paths that start with http
0.3
- Minor code refactoring and cleanup
0.2
- Log error when exec not available
- Fix remote url detection
- Fix admin header redirect
0.1
- Initial Release
