Warning about AMP being disabled for post type should be hidden for non-admins #4593
Labels
Changelogged
Whether the issue/PR has been added to release notes.
Groomed
WS:UX
Work stream for UX/Front-end
Milestone
Bug Description
Originally reported in #2692. When AMP is not enabled for a post type, there should be no warning displayed users who do not the
manage_options
capability, since there is no action the user can take. Non-admin users also would likely not care about AMP in the first place.Relates to #2673.
Expected Behaviour
No warning should be displayed.
Steps to reproduce
Screenshots
Block editor:
Classic editor:
Clicking link:
Additional context
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation brief
QA testing instructions
Demo
Changelog entry
The text was updated successfully, but these errors were encountered: