From 1b8ddc740f1d5ba9bbf2933348413d6759e2d14c 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: http://svn.automattic.com/wordpress/branches/2.2@5499 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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']); ?>