WordPress/wp-includes/rest-api/fields
TimothyBlynJacobs 367c97df67 REST API: Prevent PHP warning when metadata schema is missing properties.
This switches to the new `rest_default_additional_properties_to_false()` function which doesn't have this issue and deprecates the `WP_REST_Meta_Fields::default_additional_properties_to_false()` method.

Props austin880625.
Fixes #51389.

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


git-svn-id: http://core.svn.wordpress.org/trunk@49070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-25 20:30:08 +00:00
..
class-wp-rest-comment-meta-fields.php Docs: Update @since version to 4.9.8 for meta registration subtype handling. 2018-07-23 17:02:25 +00:00
class-wp-rest-meta-fields.php REST API: Prevent PHP warning when metadata schema is missing properties. 2020-10-25 20:30:08 +00:00
class-wp-rest-post-meta-fields.php Docs: Update @since version to 4.9.8 for meta registration subtype handling. 2018-07-23 17:02:25 +00:00
class-wp-rest-term-meta-fields.php Docs: Update @since version to 4.9.8 for meta registration subtype handling. 2018-07-23 17:02:25 +00:00
class-wp-rest-user-meta-fields.php Docs: Update @since version to 4.9.8 for meta registration subtype handling. 2018-07-23 17:02:25 +00:00