mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-03 11:59:23 +00:00
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