Asset CleanUp Pro - Performance WordPress Plugin

Asset CleanUp Pro - Performance WordPress Plugin 1.2.8.9

Free Download with Account
* **New:** Choose “Optimize page” from the Asset CleanUp admin bar menu to open the "CSS/JS Manager" or "Plugins Manager" on the current page, even when automatic display is turned off.
* **New:** Compare two loads of the same page before and after saving changes in either front-end manager. See changes in CSS/JS file counts and sizes, unloaded plugins, PHP time, memory usage and database queries.
* **New:** In "Plugins Manager" → "By page", you can now keep all active plugins loaded on a specific post, page or the homepage, even when site-wide unload rules apply. "Page Options" also lets you turn off Asset CleanUp Pro entirely for that page from either manager.
* **New:** If license deactivation fails, you can remove the license key from this installation and keep your settings and rules. The site may still occupy an activation in your customer account.
* **Improvement:** The "CSS/JS Manager" now asks for confirmation before unloading a main stylesheet from the active theme or its parent, helping prevent accidental layout changes.
* **Compatibility:** Fixed a form verification conflict with Rank Math Instant Indexing.
* **Fix:** Saving front-end CSS/JS changes now preserves repeated query parameters and their original encoding, so filtered pages reopen with the same selections.
* **Fix:** Clearing the Asset CleanUp cache also invalidates cached CSS and JavaScript optimization data when the site uses a persistent object cache such as Redis.
* **Fix:** A license form left open in another tab can no longer deactivate a replacement license. Delayed responses from the license server can no longer restore a license that was removed from the site.
* **Improvement:** Choose all updates and offers, security & release updates only, or turn announcements off.
* **Improvement:** New and upgraded Pro sites with no recorded announcement preference now receive all updates and offers by default.
* **Improvement:** Choose where announcements appear: Dashboard Home, Installed Plugins, or Asset CleanUp pages.
* **Improvement:** Settings preserve announcement preferences and indicate when an announcement was used to opt out.
* **Security:** Verify that asset lists retrieved by the CSS/JS Manager and Alternative Assets were generated by the plugin for the current scan.
* **Security:** Fix an unauthenticated stored cross-site scripting (XSS) vulnerability involving comments on pages scanned with Alternative Assets. Asset URLs and metadata are now safely escaped in Overview, Bulk Changes and the CSS/JS Manager, including values stored before the update.
* **Security:** Apply Oxygen stylesheet unloads using rules evaluated by Asset CleanUp, so page content cannot change which stylesheets are removed.
* **Fix:** Settings distinguish a recorded opt-out from a missing announcement preference and preserve it across unrelated settings changes.
* **Fix:** Recognize the homepage during signed asset scans and preserve the selected page context and eligible guest cookies across redirects.
* **Fix:** With "WP Remote POST" selected, the CSS/JS Manager now refreshes the asset list correctly when you switch a post or page between public and private in the WordPress block editor.
* **Fix:** Saving rules for a post, page or latest-posts homepage preserves unload rules and load exceptions for files missing from the current scan or unavailable for editing.
* **Fix:** Combining CSS and JavaScript preserves active tag positions when the same file also appears in an HTML comment or in a script with a different loading strategy.
* **Fix:** CSS optimization preserves print conditions and cascade layers on `@import` rules, including when stylesheets are combined.
* **Fix:** Optimized stylesheets resolve relative image URLs from their original directory and preserve local SVG fragment references.
* **Fix:** Combining legacy Google Fonts stylesheets preserves all requested weights and styles and leaves text-specific requests separate.
* **Improvement:** Allow validated remote Google Fonts variants to be selected for removal without waiting for local font processing when local hosting is disabled.
* **Improvement:** Disable redundant new bulk unload selections while a site-wide rule is active, preserving existing saved bulk rules.
* **Improvement:** Clarify category and tag archive scope in Plugins Manager and remove internal Asset CleanUp parameters from displayed front-end page URLs without changing visitor query parameters.
* **Improvement:** Extend selective Google Fonts removal to more JavaScript font loaders and WP Rocket delayed scripts, preserving other font providers and callbacks.
* **Compatibility:** Selective removal keeps the entire original Google Fonts list when emptying a global WebFontConfig, or a WebFont.load() call without another supported font provider, could disrupt page loading. Those fonts may still load. Unsupported HTML or JavaScript remains unchanged; these limits are explained beside the setting.
* **Fix:** Continue inline JavaScript optimization after common SVG, MathML and recoverable HTML attribute errors, while preserving template, text and comment content.
* **Fix:** Preserve JavaScript execution order and legacy comment boundaries during optimization.
* **Fix:** Preserve theme styles, empty runtime style elements and inert HTML when removing Google Fonts. Keep URL encoding, unrelated font requests and dynamically constructed JavaScript URLs intact.
* **Fix:** Apply Google Fonts removal, font-display and local-hosting changes to external JavaScript even when minification is disabled, and refresh outdated font-processing caches.
* **Fix:** Preserve saved Google Fonts removal selections while local font processing is pending or settings are changed.
* **Fix:** Preserve saved preload settings when their controls are unavailable, while allowing editable assets to return to "No (default)" in both managers.
* **Fix:** Correct Admin Bar unload statistics for late footer assets and scripts with missing dependencies, preserving toolbar customizations.
* **Fix:** Correct archive context and saved unload checkbox states on WordPress taxonomy edit screens, and prevent incorrect homepage or posts-page notices.
* **Fix:** Preserve individual archive rules covered by bulk rules, and allow rules for numeric asset handles and the last taxonomy-wide load exception to be removed.
* **Fix:** Preserve CSS/JS rules when a taxonomy term is edited without a loaded Asset CleanUp manager. Require the manager's form marker, matching nonces and permissions before changing its rules.
* **Fix:** Save CSS/JS rules to the correct WPML taxonomy translations in both the Dashboard and front-end manager.
* **Fix:** Keep CSS/JS row highlighting and load-exception controls consistent when changing individual, bulk and site-wide unload rules.
* **Fix:** Preserve descendant selectors when minifying the plugin's interface styles.
* **Improvement:** Updated optional Dashboard announcements with refreshed layouts and messages tailored to the license plan.
* **Fix:** Improve cache busting for the plugin's own CSS/JS files to prevent outdated styles and scripts from affecting the interface after updates.
* **Fix:** Prevent attached inline CSS and JavaScript data from being duplicated when combining files, preserving their original position when they cannot be safely combined.
* **Fix:** Make BODY script defer processing safer around inline content, templates and quoted attributes, while supporting common SVG graphics, including WordPress duotone filters.
* **Fix:** Preserve existing font preload settings during unrelated settings updates, including configurations saved by older plugin versions.
* **Fix:** Avoid excessive regular-expression recursion when processing unusually long HTML tags on older PHP versions, including during Critical CSS preview cleanup.
* **New:** Manage plugin rules by page, directly from the front-end or the WordPress post editor, alongside the existing "By plugin" layout.
* **New:** Added plugin unload rules and load exceptions for entries of a selected post type assigned to any term in selected taxonomies.
* **New:** Pause and resume CSS/JS rules and Alternative Assets independently without deleting their saved configuration.
* **Fix:** Preserve settings belonging to the inactive plugin edition when saving Settings or changing individual options through AJAX controls. Validate submitted form fields against the active edition's settings.
* **Fix:** Validate submitted Plugins Manager rule statuses before preserving scoped taxonomy rules, avoiding PHP warnings for malformed values.
* **Fix:** Guard Plugins Manager helpers during updates and open saved post-type taxonomy rules directly from "By plugin", without requiring an individual entry.
* **Fix:** Keep Critical CSS preview cleanup confined to actual stylesheet tags, preserving marker-like text in other page content.
* **Fix:** Preserve empty SCRIPT/STYLE markup in page content during cleanup, including STYLE literals used by JavaScript to create elements dynamically.
* **Fix:** Remove temporary JS source markers from preload links, and handle whitespace consistently in CSS/JS unload query lists.
* **Security:** Restrict asset diagnostic dumps to users with plugin access and escape their HTML output, including hardcoded asset data.
* **Security:** Restrict credentialed front-end CORS responses to trusted origins while preserving requests from the primary Dashboard to WPML/Polylang language domains. Additional trusted origins can be configured with `wpacu_frontend_cors_allowed_origins`.
* **Security:** Fix SQL injection in Plugins Manager author archive detection by parameterizing the author lookup and rejecting invalid input types.
* **Security hardening:** Make temporary CSS/JS attribute cleanup safer by preserving inline JavaScript, quoted attribute values and text content. Ambiguous or unsupported HTML is left unchanged to avoid breaking the page, so some temporary markers may remain in the page source. Existing reflected-XSS and stored-XSS protections remain in place.
* The front-end CSS/JS Manager now runs in an isolated iframe to prevent styling conflicts with themes and plugins; mobile layout issues have also been corrected
* Cache clearing now works without jQuery, avoids unintended page reloads and confirms successful manual cache clearing
* Improved cache-clearing messages with consistent styling and mobile-friendly wrapping, while avoiding unnecessary stylesheet loading on front-end pages
* Improved stylesheet deferral and conditional preloading
* Fixed execution order for conditionally loaded scripts and unloading of empty inline scripts
* **Fix:** "System Info" report download button, and added a loading state to the download button.
* **New:** Added "Alternative Assets" to the CSS/JS Manager. Create and edit lighter alternatives for CSS and JavaScript assets that still need to load, choose where the alternatives are used, and compare their sizes without modifying the original source.
* **Improvement:** Reduced redundant processing during Combine CSS/JS cache validation and avoided unnecessary cache rebuilds when separate inline JavaScript, JSON content, or CSP nonce values change.
* **Improvement:** Import/Export preserves Pro settings and rules when transferred through Lite, ready for use after upgrading to Pro.
* **Fix:** Improved Combine CSS/JS reliability, including asset ordering, cache invalidation, regeneration of missing combined files, and homepage cache cleanup.
* **Fix:** Improved JavaScript combining and BODY defer handling to preserve script execution order and existing defer behavior while safely applying defer to eligible BODY scripts.
* **Added:** Roll back Asset CleanUp Pro to an eligible previous version from "Tools" (plugin's menu) - "Rollback", with version selection and confirmation before installation. Existing settings are preserved.
* **Security — Admin Bar:** Fixed a reflected cross-site scripting (XSS) vulnerability in the admin bar by validating asset unload parameters and escaping dynamic output (CVE-2026-92236). Reported by 'Huseyn (mekhatai) Gadashov' via Wordfence.
* **Security — Comment Content XSS:** Completed the fix for the stored cross-site scripting via comment content (follow-up to CVE-2026-13354). The final cleanup of the plugin's temporary `data-wpacu-*` attributes on `<script>` tags — previously two whole-document replacements — is now scoped to each `<script>` tag and uses bounded, quote-aware patterns. Reported by 'crow' via Wordfence.
* **Security — Front-end HTML Cleanup:** Removed the last remaining whole-document replacement from the HTML cleanup step (it stripped `data-wpacu-style-handle` from `<link>` tags); that cleanup now runs through the same tag-scoped methods. Found during the internal review that followed the report above. Every temporary-attribute cleanup is now confined to the tag it belongs to and cannot touch any other part of the page, including user-submitted content.
* **New:** Admin Bar transfer savings estimates for unloaded CSS/JS files and removed inline code, with AJAX-based measurements and Brotli/GZIP indicators.
* **Improvement:** Separate effective asset unloads from rules that had no effect on the current page, with inactive rules grouped by asset type.
* **Improvement — Rule Management:** "Overview" is now the recommended place to review and manage bulk rules, including dormant rules left behind by deleted pages or deactivated plugins. Removed "Bulk Changes" from the top navigation, WordPress sidebar, and Admin Bar. The legacy page remains accessible through its direct URL and existing bookmarks: /wp-admin/admin.php?page=wpassetcleanup_bulk_unloads
* **Improvement:** The "CSS/JS Manager" and Admin Bar now explain when "Page Options" disable optimizations, including CSS/JS unload rules. Admin Bar warnings identify disabled features, while clearer descriptions, dimmed overridden options, and quick links make these settings easier to understand.
* **Improvement — Debugging "/?wpacu_debug":** Added temporary "Page Options" overrides without changing saved settings. Debugging controls now update their availability and distinguish global restrictions, Page Options overrides, and missing rules.
* **Improvement — Debugging "/?wpacu_debug":** Added per-file CSS/JS optimization details explaining content changes, unchanged results, exclusions, failures, and cache decisions. Multiple optimization reasons can be shown for the same file.
* **Improvement — Overview:** Added navigation entries for "Page Options" and "Special Settings", clarified page overrides, and dimmed redundant options.
* **Fixed — Interface:** Corrected "Overview" horizontal overflow and alignment
* **Fixed — CSS Optimization:** When an optimized stylesheet has a matching `<noscript>` fallback, the fallback now uses the same optimized cache URL instead of retaining the original unminified URL.
* **Fixed — CSS/JS Manager:** Selecting “Remove bulk rule” or "Remove site-wide rule" now correctly removes the unload rules when saving changes.
* **Fixed — Page Options:** Fixed an issue where CSS/JS processing could still run on pages with "Disable all front-end optimizations" enabled. The plugin now checks the current page’s options before retaining the decision to allow optimizations, preventing unnecessary processing on excluded pages.
* **Improvement:** Reduced Google Fonts browser discovery traffic by running the collector for approximately 2% of public browsers while preserving duplicate protection for known configurations.
* **Improvement:** Made the Google Fonts discovery REST endpoint compatible with sites where WordPress pretty permalinks or REST rewrite rules are unavailable.
* **Fixed:** Browser discovery is now disabled by default, preventing discovery REST traffic on new or previously unsaved configurations until the feature is enabled.
Back
Top