Run it through the filter. see #4259

git-svn-id: https://develop.svn.wordpress.org/trunk@5519 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
rob1n 2007-05-22 22:36:56 +00:00
parent d575d01059
commit a24222a0f0
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; } ?>