WordPress/wp-includes/rest-api/fields
Rachel Baker 19ba92e401 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.

Merges [39436] onto 4.7 branch.

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

Built from https://develop.svn.wordpress.org/branches/4.7@39437


git-svn-id: http://core.svn.wordpress.org/branches/4.7@39377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-12-02 22:05:35 +00:00
..
class-wp-rest-comment-meta-fields.php
class-wp-rest-meta-fields.php REST API: Return a WP_Error if meta property is not an array. 2016-12-02 22:05:35 +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:36:32 +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:09:32 +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:28:30 +00:00