From d713e474010c36130f6becfdeeaf6f99891bd658 Mon Sep 17 00:00:00 2001 From: rob1n Date: Mon, 21 May 2007 13:13:22 +0000 Subject: [PATCH] Pass text widget text through format_to_edit. Props Ryan. fixes #4302 git-svn-id: https://develop.svn.wordpress.org/trunk@5499 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/widgets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index 39ee6bd2ca..6365261cda 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -549,7 +549,7 @@ function wp_widget_text_control($number) { update_option('widget_text', $options); } $title = attribute_escape($options[$number]['title']); - $text = attribute_escape($options[$number]['text']); + $text = format_to_edit($options[$number]['text']); ?>