[wp-trac] [WordPress Trac] #50635: Deprecate wp_slash_strings_only() in favour of wp_slash()
WordPress Trac
noreply at wordpress.org
Sun Jul 12 11:36:50 UTC 2020
#50635: Deprecate wp_slash_strings_only() in favour of wp_slash()
-------------------------+-----------------------------
Reporter: ocean90 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: trunk
Severity: normal | Keywords: needs-patch
Focuses: rest-api |
-------------------------+-----------------------------
Since [48433] `wp_slash()` no longer changes non-string types which was
the main reason for the introduction of `wp_slash_strings_only()` in
[46454]. To avoid confusion we should deprecate `wp_slash_strings_only()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50635>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list