[wp-trac] [WordPress Trac] #17089: Documentation for "Escaped with Slashes"

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 8 20:07:40 UTC 2011


#17089: Documentation for "Escaped with Slashes"
-------------------------+-----------------------------
 Reporter:  WraithKenny  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Inline Docs  |    Version:  3.1
 Severity:  trivial      |   Keywords:  2nd-opinion
-------------------------+-----------------------------
 Documentation should be updated for `wp_filter_kses`, and
 `wp_filter_post_kses` to mention:

   "Escaped with Slashes" is usually expected because `wp_magic_quotes`
 escapes `$_GET`, `$_POST`, `$_COOKIE`, `$_SERVER`, and `$_REQUEST` early
 (in the hook system, shortly after 'plugins_loaded' but earlier then
 'init' or 'wp_loaded').

 It might save a new developer much headache when attempting to choose and
 use sanitation functions.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17089>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list