wordpress-develop/src/wp-includes/rest-api/fields
Rachel Baker a55506974e REST API: Return a WP_Error if meta property is not an array.
Fixes bug where a PHP Warning is currently thrown if a client sends a request where `meta` is not an array value.

Props timmydcrawford, jnylen0, rachelbaker, pento.
Fixes #38989.

git-svn-id: https://develop.svn.wordpress.org/trunk@39436 602fd350-edb4-49c9-b593-d223f7449a82
2016-12-02 21:55:09 +00:00
..
class-wp-rest-comment-meta-fields.php Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_Comment_Meta_Fields class. 2016-10-30 06:33:34 +00:00
class-wp-rest-meta-fields.php REST API: Return a WP_Error if meta property is not an array. 2016-12-02 21:55:09 +00:00
class-wp-rest-post-meta-fields.php Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_Post_Meta_Fields class. 2016-10-30 16:35:30 +00:00
class-wp-rest-term-meta-fields.php Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_Term_Meta_Fields class. 2016-10-30 18:08:36 +00:00
class-wp-rest-user-meta-fields.php Docs: Add much more complete and syntactically correct documentation throughout the WP_REST_User_Meta_Fields class. 2016-10-30 18:27:28 +00:00