[wp-trac] [WordPress Trac] #62574: Move default template types and template part areas to REST API
WordPress Trac
noreply at wordpress.org
Thu Feb 27 20:53:15 UTC 2025
#62574: Move default template types and template part areas to REST API
-------------------------------------------------+-------------------------
Reporter: gigitux | Owner: gigitux
Type: enhancement | Status: assigned
Priority: normal | Milestone: 6.8
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: has-patch gutenberg-merge has-unit- | Focuses:
tests |
-------------------------------------------------+-------------------------
Comment (by Benjamin_Zekavica):
@Mamaduka I agree with Joe and support this suggestion: It's better to
expose this data only to logged-in users since themes and plugins can
modify these values, and they may not be meant to be public. If so, I
would add it as a filter in the rest_index callback, like how application
passwords are handled.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62574#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list