-
Notifications
You must be signed in to change notification settings - Fork 842
Closed
Labels
AMP[Pri] High[Type] BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended
Milestone
Description
In #10945, we made changes to our AMP compatibility file that impact the way we load CSS. Unfortunately, this change impacts all site owners currently using the jetpack_implode_frontend_css filter
Steps to reproduce the issue
- Start from a site using Jetpack 6.8.1 and with the following code snippet:
add_filter( 'jetpack_implode_frontend_css', '__return_false' ); - Separate CSS files are loaded by Jetpack on the frontend.
- Update to Jetpack 6.9
- Your code snippet does not have any impact anymore, the concatenated
jetpack.cssis loaded instead. You have to change the priority for it to start working again, likeadd_filter( 'jetpack_implode_frontend_css', '__return_false', 99 );.
I have not tested, but I suspect this also impacts the other filters in use by the AMP compatibility file.
Reported here:
https://jetpack.com/2019/01/10/jetpack-6-9-introducing-more-tools-for-the-new-block-editor/#comment-193496
macmanx2, renehesse, jennywlove and mjmaix
Metadata
Metadata
Assignees
Labels
AMP[Pri] High[Type] BugWhen a feature is broken and / or not performing as intendedWhen a feature is broken and / or not performing as intended