[wp-trac] [WordPress Trac] #62574: Move default template types and template part areas to REST API
WordPress Trac
noreply at wordpress.org
Wed Feb 26 14:10:21 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 | Focuses:
---------------------------------------+-----------------------
Comment (by Mamaduka):
Since the beta one date approaches fast, it would be nice to have final
confirmation on this.
> I'd be more comfortable adding this to the index if were only exposed to
logged in users given that these values can be modified by themes and
plugins to include data that may not be meant to be public. If doing so, I
would add this as a filter on the `rest_index` callback, similar to how
the application passwords data is added via
`rest_add_application_passwords_to_index()`.
@TimothyBlynJacobs, @spacedmonkey, what do you think going with this
solution?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62574#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list