[wp-trac] [WordPress Trac] #62574: Move default template types and template part areas to REST API

WordPress Trac noreply at wordpress.org
Wed Feb 12 22:04:58 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 peterwilsoncc):

 I don't really think the discussion on the Gutenberg PR was resolved
 beyond let's move on to avoid blocking the ticket. As the Gutenberg plugin
 is bleeding edge WP, that's fine for the plugin as it doesn't have the
 same backward compatibility promises that come with code released in
 WordPress stable.

 A concern I have with including this data on a public endpoint is that WP
 can't assume that the data is intended to be public, themes and plugins
 can use various filters to define custom templates for data that is
 intended to be private.

 I'm also concerned about creating a faux endpoint, as explained above, as
 a shortcut to creating a new endpoint, using a more appropriate endpoint.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62574#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list