stripslashes before running kses. Props donncha. fixes #1697

git-svn-id: http://svn.automattic.com/wordpress/trunk@2902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2005-09-21 16:35:35 +00:00
parent d8ea1c7db4
commit 18c673c275
1 changed files with 1 additions and 1 deletions

View File

@ -512,7 +512,7 @@ function wp_filter_kses($data) {
function wp_filter_post_kses($data) {
global $allowedposttags;
return wp_kses($data, $allowedposttags);
return addslashes ( wp_kses(stripslashes( $data ), $allowedposttags) );
}
function kses_init() {