=== Asset CleanUp Pro: Page Speed Booster === Contributors: gabelivan Tags: minify css, minify javascript, defer css javascript, page speed, dequeue, performance Requires at least: 4.5 Tested up to: 5.7.2 Stable tag: 1.1.9.5 License: Commercial There are often times when you are using a theme and a number of plugins which are enabled and run on the same page. However, you don’t need to use all of them and to improve the speed of your website and make the HTML source code cleaner (convenient for debugging purposes), it’s better to prevent those styles and scripts from loading. == Changelog == = 1.1.9.5 - 26 May 2021 * Make sure the plugin can be updated via WP CLI (so far, the update was visible within the Dashboard in /wp-admin/) * Option to skip Autoptimize cache clearing via using the "WPACU_DO_NOT_ALSO_CLEAR_AUTOPTIMIZE_CACHE" constant (e.g. set to 'true' in wp-config.php) * Fix: Make sure that applying to unload on all pages of a certain post type works from "CSS & JS MANAGER" (which is the new place for managing CSS/JS files within the Dashboard, outside the edit post/page area) * Fix: Manage assets didn't work on "CSS & JS MANAGER" -> "Homepage" tab if the actual page was a static one set in "Settings" -> "Reading" = 1.1.9.4 - 16 May 2021 * New Option: Manage assets loading for posts, pages, and custom post types within "CSS & JS MANAGER" -> "MANAGE CSS/JS" without the need to go to edit post/page area which is often bulky and could have too many fields from the theme & other plugins leading to a higher number than the one set in php.ini for "max_input_vars" * Higher accuracy in preventing the plugin from triggering when there are REST requests * Fix: Make sure RegEx rules for unloading plugins/assets are working well when non-latin characters are in the URI * Fix: Make sure the plugin works well (e.g. without any PHP errors) if the plugins' directory is changed (e.g. from "plugins" to "plugins-custom-name") * Fix: Critical CSS was not showing in the front-end view for all page type * Debugging purposes: Prevent CSS/JS from loading based on the media query via /?wpacu_no_media_query_load_for_css & /?wpacu_no_media_query_load_for_js = 1.1.9.3 - 25 April 2021 * Option to manage critical CSS (in "CSS & JS Manager" » "Manage Critical CSS") from the Dashboard (add/update/delete), while keeping the option to use the "wpacu_critical_css" hook for custom/singular pages * Improvement: Make sure "&display=" is added (if enabled) to Google Fonts links if their URL is changed to fit in JSON formats or JavaScript variables * Fix: Make sure managing CSS/JS for taxonomies from the Dashboard (e.g. when editing a category) works 100% * Fix: Clearing load exceptions from "Overview" didn't work for all pages of a certain post type = 1.1.9.2 - 16 April 2021 * Divi builder edit mode: Allow Asset CleanUp Pro to trigger plugin & CSS/JS unload rules when the page editor is on to make the editor load faster via define('WPACU_LOAD_ON_DIVI_BUILDER_EDIT', true); that can be set in wp-config.php / read more: https://www.assetcleanup.com/docs/?p=1260 * Cache Enabler (compatibility with older versions): Make sure the deprecated "cache_enabler_before_store" hook is in use * Unload "photoswipe" fix: If WooCommerce's PhotoSwipe was unloaded, empty dots were printed at the bottom of the page from unused/unneeded HTML (hide it by marking the DIV with the "pswp" class as hidden) * Improvement: Only use 'type="text/css"' when it's needed (e.g. an older theme is used that doesn't support HTML5) * Improvement: Make SweetAlert2 independent (styling, functionality) from other SweetAlert scripts that might be loaded from other plugins/themes (e.g. "WooCommerce Quickbooks Connector" export in an edit product page was not working) * Fix: Better detection for the homepage (e.g. the latest posts page was mistaken with the homepage in the front-end view of the CSS/JS manager) * Fix: Better detection for the singular page; Make sure the latest posts page such as the "Blog" one is also checked) * Fix: Make sure the license deactivation works even if the license is not valid so that it could be replaced with a valid one (e.g. a null version was initially used) = 1.1.9.1 - 1 April 2021 * Minify CSS/JS improvement: From now on, the minification can be either applied to files, inline JS code, or both (before, the files minification had to be enabled to files first and then to inline JS code; sometimes, users just wanted to minify inline code and leave the files untouched) * Fix: On some WordPress installations, the plugin's menu icon from the Dashboard's sidebar was not showing properly (the height was too large) * Fix: If there are too many assets/plugins unloaded, when showing up in the top admin bar menu, the list was not scrollable (e.g. only 20 out of 40 assets were shown because the height of the browser's window wasn't large enough which can not be expanded on smaller devices) * Fix: If the current theme supports HTML5, the 'type="text/javascript"' attribute is not added any more to altered SCRIPT tags by Asset CleanUp, thus avoiding any errors from W3C validators * Fix: When "Move All