WordPress/wp-includes/rest-api/fields
Ryan McCue ca9f71e9b2 REST API: Correctly map meta keys to field names.
This accidentally assumed $name was the same as $meta_key, which ruined the whole point of $name.

Props tharsheblows, joehoyle.
Fixes #38786.

Built from https://develop.svn.wordpress.org/trunk@39328


git-svn-id: http://core.svn.wordpress.org/trunk@39268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-11-21 05:41:30 +00:00
..
class-wp-rest-comment-meta-fields.php
class-wp-rest-meta-fields.php REST API: Correctly map meta keys to field names. 2016-11-21 05:41:30 +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