[wp-trac] [WordPress Trac] #38989: Invalid meta causes warning in WP_Test_REST_Post_Meta_Fields
WordPress Trac
noreply at wordpress.org
Wed Nov 30 02:30:11 UTC 2016
#38989: Invalid meta causes warning in WP_Test_REST_Post_Meta_Fields
----------------------------+--------------------
Reporter: timmydcrawford | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
----------------------------+--------------------
Changes (by jnylen0):
* milestone: Awaiting Review => 4.7
Comment:
Thanks for the fix, nice catch on `$request` vs `$meta` as well!
- I think passing a non-array for `meta` should return an error.
- Can you add a test for passing a non-array also?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38989#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list