Ticket #4302: format_to_edit.diff
File format_to_edit.diff, 741 bytes (added by , 13 years ago) |
---|
-
wp-includes/widgets.php
549 549 update_option('widget_text', $options); 550 550 } 551 551 $title = attribute_escape($options[$number]['title']); 552 $text = attribute_escape($options[$number]['text']);552 $text = format_to_edit($options[$number]['text']); 553 553 ?> 554 554 <input style="width: 450px;" id="text-title-<?php echo $number; ?>" name="text-title-<?php echo $number; ?>" type="text" value="<?php echo $title; ?>" /> 555 555 <textarea style="width: 450px; height: 280px;" id="text-text-<?php echo $number; ?>" name="text-text-<?php echo $number; ?>"><?php echo $text; ?></textarea>