[wp-docs] stripslashes_deep

Ken (WraithKenny) ken.adcstudio at gmail.com
Mon Sep 24 17:21:16 UTC 2012


A senior coder here is going to edit it. Feel free to review his
changes and/or discuss on this thread, I'll forward it on :)

On Mon, Sep 24, 2012 at 1:18 PM, Ken (WraithKenny)
<ken.adcstudio at gmail.com> wrote:
> Hi everyone,
>
> The codex page here
> http://codex.wordpress.org/Function_Reference/stripslashes_deep that
> to my eyes gives terrible advice. I consider myself to be ann
> "intermediate" level coder, so I'd like some feedback before making
> edits here. First, the example recommends get_magic_quotes_gpc() but I
> understand this to be unreliable, especially in a WordPress
> environment (WordPress emulates and "turns on" magic quotes
> regardless), and second, it gives example code $_POST =
> stripslashes_deep( $_POST ); which seems like it'd be especially bad
> practice... or am I wrong?
>
> Thanks,
> Ken


More information about the wp-docs mailing list