#1697 closed defect (bug) (fixed)
kses needs to strip and add slashes to posts
Reported by: | donncha | Owned by: | ryan |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | blocker | Version: | 1.6 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
kses needs to strip and add slashes to posts:
ie:
function wp_filter_post_kses($data) { global $allowedposttags; return addslashes( wp_kses(stripslashes( $data ), $allowedposttags) ); }
Change History (2)
Note: See
TracTickets for help on using
tickets.
(In [2902]) stripslashes before running kses. Props donncha. fixes #1697