Remove the_content filter from widget text. see #4259
git-svn-id: https://develop.svn.wordpress.org/trunk@5518 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c6fc3c6744
commit
d575d01059
|
@ -523,7 +523,7 @@ function wp_widget_text($args, $number = 1) {
|
||||||
extract($args);
|
extract($args);
|
||||||
$options = get_option('widget_text');
|
$options = get_option('widget_text');
|
||||||
$title = $options[$number]['title'];
|
$title = $options[$number]['title'];
|
||||||
$text = apply_filters( 'the_content', $options[$number]['text'] );
|
$text = $options[$number]['text'];
|
||||||
?>
|
?>
|
||||||
<?php echo $before_widget; ?>
|
<?php echo $before_widget; ?>
|
||||||
<?php if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
|
<?php if ( !empty( $title ) ) { echo $before_title . $title . $after_title; } ?>
|
||||||
|
|
Loading…
Reference in New Issue