[wp-docs] stripslashes_deep

Lorelle on WordPress lorelleonwordpress at gmail.com
Tue Sep 25 16:45:39 UTC 2012


Thanks for pointing this out. Let us know when they have made changes and
we'll get one of ours to take a look.

Thanks!

Lorelle


On Mon, Sep 24, 2012 at 10:21 AM, Ken (WraithKenny) <ken.adcstudio at gmail.com
> wrote:

> 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
> _______________________________________________
> wp-docs mailing list
> wp-docs at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-docs
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.automattic.com/pipermail/wp-docs/attachments/20120925/3d005148/attachment.htm>


More information about the wp-docs mailing list