-
Notifications
You must be signed in to change notification settings - Fork 220
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
Enhancement/4013 add notice for compat autoptimize aggregatecss rocket cpcss #4525
Enhancement/4013 add notice for compat autoptimize aggregatecss rocket cpcss #4525
Conversation
This will display the notice as expected, but the integration test will not run in isolation. Other functions from preload still run on admin_notice.
…egatejs-rocket-delayjs' into enhancement/4013-add-notice-for-compat-autoptimize-aggregatecss-rocket-cpcss
…toptimize-aggregatecss-rocket-cpcss # Conflicts: # inc/ThirdParty/Plugins/Optimization/Autoptimize.php # tests/Fixtures/inc/ThirdParty/Plugins/Optimization/Autoptimize/warnWhenJsAggregationAndDelayJsActive.php # tests/Integration/inc/ThirdParty/Plugins/Optimization/Autoptimize/warnWhenJsAggregationAndDelayJsActive.php
@iCaspar @piotrbak |
On the one hand, the notice isn't really necessary in this case of dimmed sub-options. On the other, since we're not actually changing the behavior of the features, it won't actually break anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Working as expected
Description
Adds a warning notice to advise users of conflict between Autoptimize Aggregate Inline CSS and CPCSS ("Optimize CSS Delivery")
Fixes #4013
Type of change
Is the solution different from the one proposed during the grooming?
Yes. This solution builds on the solution from #4501, using the Autoptimize compatibility class implemented there. It is no longer dependent on settings_transients.
How Has This Been Tested?
Integration tests have been added for the new notice method.
Verified functionality locally.
Checklist: