mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
1a25ba4bdb
commit
d713e47401
@ -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']);
|
||||
?>
|
||||
<input style="width: 450px;" id="text-title-<?php echo $number; ?>" name="text-title-<?php echo $number; ?>" type="text" value="<?php echo $title; ?>" />
|
||||
<textarea style="width: 450px; height: 280px;" id="text-text-<?php echo $number; ?>" name="text-text-<?php echo $number; ?>"><?php echo $text; ?></textarea>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user