[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
Thu Dec 19 19:01:49 UTC 2019


#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:                                       |
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 Thanks for updating the patch @dhavalkasvala, this looks good! Do you want
 to work on a unit test for this? No worries if not.

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


More information about the wp-trac mailing list