diff --git a/wp-includes/default-widgets.php b/wp-includes/default-widgets.php index 01d8c243d5..27c3b3cfa8 100644 --- a/wp-includes/default-widgets.php +++ b/wp-includes/default-widgets.php @@ -391,7 +391,7 @@ class WP_Widget_Text extends WP_Widget { if ( current_user_can('unfiltered_html') ) $instance['text'] = $new_instance['text']; else - $instance['text'] = wp_filter_post_kses( $new_instance['text'] ); + $instance['text'] = stripslashes( wp_filter_post_kses( $new_instance['text'] ) ); $instance['filter'] = isset($new_instance['filter']); return $instance; }