diff --git src/wp-includes/widgets/class-wp-widget-text.php src/wp-includes/widgets/class-wp-widget-text.php
index 434a123f90..1867d122e6 100644
|
|
class WP_Widget_Text extends WP_Widget { |
91 | 91 | * |
92 | 92 | * @since 4.8.0 |
93 | 93 | * |
94 | | * @param string $widget_text The widget content. |
95 | | * @param array $instance Array of settings for the current widget. |
96 | | * @param WP_Widget_Text $this Current Text widget instance. |
| 94 | * @param string $text The widget content. |
| 95 | * @param array $instance Array of settings for the current widget. |
| 96 | * @param WP_Widget_Text $this Current Text widget instance. |
97 | 97 | */ |
98 | | $text = apply_filters( 'widget_text_content', $widget_text, $instance, $this ); |
| 98 | $text = apply_filters( 'widget_text_content', $text, $instance, $this ); |
99 | 99 | |
100 | 100 | } elseif ( $instance['filter'] ) { |
101 | 101 | $text = wpautop( $text ); // Back-compat for instances prior to 4.8. |