[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
Tue Jun 18 18:56:31 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: assigned
Priority: normal | Milestone: Future Release
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+--------------------------------
Changes (by TimothyBlynJacobs):
* owner: (none) => TimothyBlynJacobs
* status: new => assigned
* version: 4.9.6 => 4.7
* milestone: Awaiting Review => Future Release
Comment:
Assigning this to myself to investigate. I think at this point we can
really only hope for a docs fix to clarify without breaking BC.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44432#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list