[wp-docs] stripslashes_deep

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


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