Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
AMP meta box is active on post types that are not public #957
The AMP plugin adds the meta box in the back-end for post types that are not public. A good example I stumbled upon now while in the BuddyPress email area.
BuddyPress uses post types to manager its emails. The post types are not public. Still, in the admin area, one can see the notice that AMP is not active because of post type support.
Clicking on the link sends the user to the AMP settings page where the email post type, correctly, by the way, is not available for activation.
The verification made on
Theoretically, non-public post types will not be used in the front-end and so, will have no AMP support. So the meta box in the back-end is unnecessary.
What do you guys think? :)
By the way, something like that should work fine. I'm happy to send a PR.