[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
Mon Nov 29 21:13:11 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:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  5.9
Component:  REST API      |    Version:  trunk
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:  rest-api      |
--------------------------+-------------------------
 In [https://core.trac.wordpress.org/changeset/51962 51962] and
 [https://core.trac.wordpress.org/changeset/51964 51964] new functions
 `rest_get_route_for_post_type_items` and
 `rest_get_route_for_taxonomy_items` were added. These functions are now
 used in all parts of core that reference taxonomy and post type rest
 controller endpoints. However, references to wp/v2/posts are hardcoded in
 full site editing screen.

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


More information about the wp-trac mailing list