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

WordPress Trac noreply at wordpress.org
Fri Jun 21 13:05:03 UTC 2024


#61477: Inlude Template and template_lock to post types endpoint.
--------------------------------------+-------------------------------
 Reporter:  jorgefilipecosta          |       Owner:  jorgefilipecosta
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.6
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:  rest-api
--------------------------------------+-------------------------------
Changes (by jorgefilipecosta):

 * owner:  (none) => jorgefilipecosta
 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58452" 58452]:
 {{{
 #!CommitTicketReference repository="" revision="58452"
 REST API: Add template and template_lock to post types endpoint.

 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.

 Props jorgefilipecosta, oandregal, timothyblynjacobs, mukesh27.
 Fixes #61477.
 }}}

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


More information about the wp-trac mailing list