#1697 closed defect (bug) (fixed)
kses needs to strip and add slashes to posts
| Reported by: | donncha | Owned by: | ryan |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 1.6 |
| Severity: | blocker | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [2902]) stripslashes before running kses. Props donncha. fixes #1697