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

WordPress Trac noreply at wordpress.org
Tue Mar 4 13:43:47 UTC 2025


#62574: Move default template types and template part areas to REST API
-------------------------------------------------+-------------------------
 Reporter:  gigitux                              |       Owner:  Mamaduka
     Type:  enhancement                          |      Status:  assigned
 Priority:  normal                               |   Milestone:  6.8
Component:  Editor                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch gutenberg-merge has-unit-  |     Focuses:
  tests 2nd-opinion                              |
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 Thanks @joemcgill!

 > my understanding is that the motivation for moving this data to the REST
 API was explained in the related Gutenberg PR

 This is helpful, and I get why we want to move things to the REST API long
 term, and I very much agree with that. I'm just not totally understanding
 the pressure for getting this to land in 6.8. Why can't the existing
 method of adding it to editor settings continue to work for this release?

 > apologies for asking you to repeat yourself, but could you reiterate why
 you don't think the index is the right place for this data?

 No worries at all. I have similar thoughts to Peter.

 It seems like it would be fairly straightforward to drop this in to the
 Themes controller? We'd add it only to the active theme, similar to how we
 do Theme Supports for instance.

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


More information about the wp-trac mailing list