[wp-trac] [WordPress Trac] #44432: Sometimes, an array is passed to the get_callback provided to register_rest_field() instead of an object

WordPress Trac noreply at wordpress.org
Thu Aug 15 20:04:08 UTC 2019


#44432: Sometimes, an array is passed to the get_callback provided to
register_rest_field() instead of an object
-------------------------------+--------------------------------
 Reporter:  salzano            |       Owner:  TimothyBlynJacobs
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:  5.3
Component:  REST API           |     Version:  4.7
 Severity:  normal             |  Resolution:  fixed
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+--------------------------------
Changes (by kadamwhite):

 * milestone:  Future Release => 5.3


Comment:

 Committed the docs change clarifying this behavior for 5.3.

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


More information about the wp-trac mailing list