WordPress/wp-includes/rest-api
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
..
endpoints REST API, Posts: Add a hook to fire once a post, its terms and meta update. 2020-10-16 03:34:08 +00:00
fields Formatting: Deprecate wp_slash_strings_only() in favor of wp_slash(). 2020-10-18 06:57:04 +00:00
search REST API: Introduce search post format handler. 2020-10-12 19:54:05 +00:00
class-wp-rest-request.php REST API: Support a route-level validation callback. 2020-09-05 18:09:06 +00:00
class-wp-rest-response.php
class-wp-rest-server.php REST API: Introduce Application Passwords for API authentication. 2020-10-08 22:14:06 +00:00