Skip to content

Commit

Permalink
Remove the_content filter from widget text. see #4259
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.2@5517 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
ryanboren committed May 22, 2007
1 parent cfe1bc6 commit 833e85e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/widgets.php
Expand Up @@ -523,7 +523,7 @@ function wp_widget_text($args, $number = 1) {
extract($args);
$options = get_option('widget_text');
$title = $options[$number]['title'];
$text = apply_filters( 'the_content', $options[$number]['text'] );
$text = $options[$number]['text'];
?>
<?php echo $before_widget; ?>
<?php if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
Expand Down

0 comments on commit 833e85e

Please sign in to comment.