[wp-trac] [WordPress Trac] #56119: `wp_unslash()` and `wp_slash()` do not (un)slash the same data.
WordPress Trac
noreply at wordpress.org
Tue Jul 5 09:29:55 UTC 2022
#56119: `wp_unslash()` and `wp_slash()` do not (un)slash the same data.
-------------------------------------------+------------------------------
Reporter: peterwilsoncc | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback 2nd-opinion | Focuses:
-------------------------------------------+------------------------------
Comment (by johnbillion):
It's worth noting that the parameter type of both `wp_slash()` and
`wp_unslash()` is documented as `string|array` even though the latter
handles objects via its use of `map_deep()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56119#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list