Run it through the filter. see #4259

git-svn-id: http://svn.automattic.com/wordpress/trunk@5519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-22 22:36:56 +00:00
parent c5967f3432
commit 6a1b3fcd19
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ function wp_widget_text($args, $number = 1) {
extract($args);
$options = get_option('widget_text');
$title = $options[$number]['title'];
$text = $options[$number]['text'];
$text = apply_filters( 'widget_text', $options[$number]['text'] );
?>
<?php echo $before_widget; ?>
<?php if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>