[wp-trac] [WordPress Trac] #56072: REST API: menu items 'type_label' schema defined twice

WordPress Trac noreply at wordpress.org
Sat Jun 25 18:28:30 UTC 2022


#56072: REST API: menu items 'type_label' schema defined twice
--------------------------+-----------------------------
 Reporter:  dlh           |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  REST API      |    Version:  5.9
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------------
 The schema for the `type_label` property is defined twice in
 `WP_REST_Menu_Items_Controller::get_item_schema()`. The linked Pull
 Request removes the second definition (but keeps its more-descriptive
 `description`).

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


More information about the wp-trac mailing list