[wp-trac] [WordPress Trac] #54536: Use rest_get_route_for_taxonomy_items and rest_get_route_for_post_type_items functions in full edit editting

WordPress Trac noreply at wordpress.org
Wed Dec 1 11:17:43 UTC 2021


#54536: Use rest_get_route_for_taxonomy_items and
rest_get_route_for_post_type_items functions in full edit editting
------------------------------+-----------------------------
 Reporter:  spacedmonkey      |       Owner:  hellofromTonya
     Type:  defect (bug)      |      Status:  reopened
 Priority:  normal            |   Milestone:  5.9
Component:  REST API          |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  rest-api
------------------------------+-----------------------------
Changes (by walbo):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Getting a notice on the site-editor page after this was merged yesterday.

 The `rest_get_route_for_post_type_items` excepts the post type name and
 not the post type object.

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


More information about the wp-trac mailing list