[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 04:23:56 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 Mamaduka):

 I've updated the PR based on the latest feedback. It should be ready for
 final review.

 I understand that the REST index might not be the best place, but it's the
 best one we've got for now.

 Historically, editor settings were used for the same reason, but they
 require coupling with those packages. Low-level packages like `fields`
 should not depend on high-level packages like `editor` or `block-editor`.
 This is one reason JS packages are trying to move away from editor
 settings bootstrapped from the server.

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


More information about the wp-trac mailing list