-
Notifications
You must be signed in to change notification settings - Fork 227
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
Closes #5909 Remove combine CSS option #5911
Conversation
There is some conflicts to fix |
@CrochetFeve0251 A minor change. In the following meta-box, the wp-rocket/inc/admin/ui/meta-boxes.php Line 105 in 9822ca2
|
@CrochetFeve0251 When updating to
Can you please look into this? Steps to reproduce this
|
@CrochetFeve0251 Thank you for the PR. The issue from the previous comment is still there. Can you please take another look? |
@piotrbak @CrochetFeve0251 Currently, the cache, and minified/combined CSS files will be deleted when updating to 3.15 even if the "Combine CSS files" feature was disabled prior to the update. Is this something we'd like to address? |
@vmanthos @CrochetFeve0251 Yes, we need to be sure that we'll be able to remove the leftovers later though:
If 4 point works okay for the leftovers in this PR, we should handle this. If not, we'll need to leave it like it's. |
Taking the opportunity from @piotrbak previous comment, I commented out the following line:
in the Both when Combine CSS files was enabled and when it was disabled before the update the following took place:
After the update, using "Clear and preload" from the admin bar cleared any leftovers, e.g. previously combined CSS files. According to Piotr, given this will be a major update, "it will be good to save the resources". |
@CrochetFeve0251 A minor change as far as wording goes. When Autoptimize's CSS minification is enabled we prevent enabling WP Rocket's CSS minification and we display the following message:
wp-rocket/inc/Engine/Admin/Settings/Page.php Line 611 in 50dcab4
We should change this to:
|
Description
Remove the combine CSS feature.
For that we remove the main logic, removed the setting from the page and inside 3rdparties.
Fixes #5909
Type of change
Please delete options that are not relevant.
Is the solution different from the one proposed during the grooming?
No.
How Has This Been Tested?
Checklist:
Please delete the options that are not relevant.