Make WordPress Core


Ignore:
Timestamp:
05/21/2007 01:13:22 PM (18 years ago)
Author:
rob1n
Message:

Pass text widget text through format_to_edit. Props Ryan. fixes #4302

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2/wp-includes/widgets.php

    r5490 r5499  
    550550    }
    551551    $title = attribute_escape($options[$number]['title']);
    552     $text = attribute_escape($options[$number]['text']);
     552    $text = format_to_edit($options[$number]['text']);
    553553?>
    554554            <input style="width: 450px;" id="text-title-<?php echo $number; ?>" name="text-title-<?php echo $number; ?>" type="text" value="<?php echo $title; ?>" />
Note: See TracChangeset for help on using the changeset viewer.