[wp-trac] [WordPress Trac] #48785: REST API: WP_REST_Controller::get_public_item_schema() assumes that the schema has properties.

WordPress Trac noreply at wordpress.org
Mon Feb 17 04:15:34 UTC 2020


#48785: REST API: WP_REST_Controller::get_public_item_schema() assumes that the
schema has properties.
-------------------------------------------------+-------------------------
 Reporter:  pento                                |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.4
Component:  REST API                             |     Version:  4.7
 Severity:  normal                               |  Resolution:
 Keywords:  needs-unit-tests good-first-bug      |     Focuses:
  has-patch                                      |
PR Number:                                       |
-------------------------------------------------+-------------------------
Changes (by johnwatkins0):

 * Attachment "48785.diff" added.

 Includes the previously attached change with unit tests covering the
 change as well as get_public_item_schema generally

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


More information about the wp-trac mailing list