[wp-trac] [WordPress Trac] #48169: Use empty case for `array` in `WP_REST_Meta_Fields::get_default_for_type`

WordPress Trac noreply at wordpress.org
Sun Sep 29 15:25:07 UTC 2019


#48169: Use empty case for `array` in `WP_REST_Meta_Fields::get_default_for_type`
------------------------------+-----------------------------
 Reporter:  itowhid06         |      Owner:  (none)
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  REST API          |    Version:
 Severity:  trivial           |   Keywords:  has-patch
  Focuses:  coding-standards  |
------------------------------+-----------------------------
 Use empty case for `array`, as case `array` and `object` both returns
 empty array

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


More information about the wp-trac mailing list