[wp-trac] [WordPress Trac] #61477: Inlude Template and template_lock to post types endpoint.

WordPress Trac noreply at wordpress.org
Thu Jun 20 14:50:09 UTC 2024


#61477: Inlude Template and template_lock to post types endpoint.
------------------------------+-----------------------
 Reporter:  jorgefilipecosta  |      Owner:  (none)
     Type:  defect (bug)      |     Status:  assigned
 Priority:  normal            |  Milestone:  6.6
Component:  REST API          |    Version:  trunk
 Severity:  normal            |   Keywords:  has-patch
  Focuses:  rest-api          |
------------------------------+-----------------------
 Adds template and template_lock property of the post type to post types
 REST API endpoint.

 This change allows us to fix a bug where the template of a page is not
 respected when creating a new page on the site editor.

 Backports https://github.com/WordPress/gutenberg/pull/62488 into the core.

 PR at: https://github.com/WordPress/wordpress-develop/pull/6865

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61477>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list