[wp-trac] [WordPress Trac] #21767: Remove stripslashes from API functions
WordPress Trac
wp-trac at lists.automattic.com
Sun Sep 2 22:48:23 UTC 2012
#21767: Remove stripslashes from API functions
-------------------------------------------------+-------------------------
Reporter: alexkingorg | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting
Component: General | Review
Severity: normal | Version: trunk
Keywords: has-patch needs-testing needs-unit- | Resolution:
tests |
-------------------------------------------------+-------------------------
Comment (by nacin):
Replying to [comment:10 azaozz]:
> so it's not impossible to determine if a string has been run through
`addslashes()`, just hard to do.
It's pretty much impossible. You can definitively say that something is
*not* slashed, but if it is slashed, you don't know whether it was
manually slashed, or if the data itself was already slashed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21767#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list