New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset Cleanup inline CSS/JavaScript features prevent the application of some of WP Rocket's automatic compatibilities #5268
Comments
Acceptance Criteria:
|
It'll also fix the following issue: |
Scope a solution ✅In Function
Estimate the effort ✅Effort [XS] @piotrbak Do we have the folder and main file names for the pro version? |
We'll need to revert this PR and update acceptance criteria as soon as we get what's needed to have a better compatibility with |
you should notified the plugin team before two weeks from this decisions so they have the time to comply, better than forcing us to deactivate then activate |
@piotrbak Two compatibilities were just added to Asset CleanUp, and they will be pushed in the releases of Asset CleanUp Lite and Pro:
PS: We could have a Trello board (or something similar) with all the compatibilities, and we could comment there about each one. |
Before submitting an issue please check that you’ve completed the following steps:
3.11.4.2
Describe the bug
Asset Cleanup has the following two features:
When they are enabled, the content of the files is added inline, and the
<script>
and<link>
elements are removed.WP Rocket's compatibility with third parties quite often depends on excluding specific files, e.g. Delay JavaScript Execution exclusions for WooCommerce's product gallery:
the product gallery image:
wp-rocket/inc/ThirdParty/Plugins/Ecommerce/WooCommerceSubscriber.php
Lines 517 to 521 in ff6d801
When the two features are enabled, we won't be excluding the files as those aren't there. Exclusions will still have to be applied, but this time by picking keywords from the content of the files and doing it by hand, i.e. our automatic compatibilities will not take place.
The same goes for all of these features:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Our compatibilities should be available to users of both plugins. I
Additional context
I checked Asset Cleanup but I didn't find filters to disable these two features. They have compatibility with us on their side, e.g. disabling their CSS minification when WP Rocket's is enabled.
@piotrbak will reach out to the dev to discuss this.
Ticket: https://secure.helpscout.net/conversation/1943489138/354652?folderId=273766
Backlog Grooming (for WP Media dev team use only)
The text was updated successfully, but these errors were encountered: