-
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
This was introduced in #14840.
I do not think this is right. It is causing the admin bar to be hidden on all AMP pages, even when it should be displayed.
In AMP plugin 1.3 we introduced AMP dev mode support to exclude the admin bar from being subject to AMP validation constraints, allowing administrative scripts and styles to work as expected even on AMP pages.
More info: weston.ruter.net/2019/09/24/integrating-with-amp-dev-mode-in-wordpress
if the issue is the scripts and styles that the Jetpack Likes module includes, a better way to resolve this I think is to explicitly mark them for AMP dev mode by adding admin-bar as a dependency for the scripts and styles.
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