diff --git wp-includes/default-widgets.php wp-includes/default-widgets.php
index 96fd1be..a37fc9e 100644
|
|
|
class WP_Widget_Text extends WP_Widget { |
| 493 | 493 | * |
| 494 | 494 | * @param string $widget_text The widget content. |
| 495 | 495 | * @param WP_Widget $instance WP_Widget instance. |
| | 496 | * @param string $widget_id Unique ID string of the current instance (id_base-number). |
| 496 | 497 | */ |
| 497 | | $text = apply_filters( 'widget_text', empty( $instance['text'] ) ? '' : $instance['text'], $instance ); |
| | 498 | $text = apply_filters( 'widget_text', empty( $instance['text'] ) ? '' : $instance['text'], $instance, $widget_id ); |
| 498 | 499 | echo $args['before_widget']; |
| 499 | 500 | if ( ! empty( $title ) ) { |
| 500 | 501 | echo $args['before_title'] . $title . $args['after_title']; |