WordPress/wp-includes/rest-api/fields
Sergey Biryukov 120291367a Formatting: Deprecate wp_slash_strings_only() in favor of wp_slash().
The reason for introducing `wp_slash_strings_only()` in [46454] was to keep non-string values untouched.

Later, `wp_slash()` itself was updated in [48433] to prevent changing non-string values.

To avoid confusion, `wp_slash_strings_only()` is now deprecated.

Props ayeshrajans, ocean90.
Fixes #50635.
Built from https://develop.svn.wordpress.org/trunk@49188


git-svn-id: http://core.svn.wordpress.org/trunk@48950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-10-18 06:57:04 +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 Formatting: Deprecate wp_slash_strings_only() in favor of wp_slash(). 2020-10-18 06:57:04 +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