You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your enhancement related to a problem? Please describe.
RestApi\check_post_types_permissions() currently lists all post types available in the WordPress REST API. With the introduction of full site editing, this includes templates and other items that should probably never be shared.
Modify how the function searches for distributatble post types, possibly by changing to use Utils\distributable_post_types().
Designs
No response
Describe alternatives you've considered
TBA
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Is your enhancement related to a problem? Please describe.
RestApi\check_post_types_permissions()
currently lists all post types available in the WordPress REST API. With the introduction of full site editing, this includes templates and other items that should probably never be shared.Modify how the function searches for distributatble post types, possibly by changing to use
Utils\distributable_post_types()
.Designs
No response
Describe alternatives you've considered
TBA
Code of Conduct
The text was updated successfully, but these errors were encountered: