Changeset 49946 for trunk/src/wp-includes/widgets/class-wp-widget-text.php
- Timestamp:
- 01/08/2021 02:28:46 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/widgets/class-wp-widget-text.php
r49215 r49946 271 271 * 272 272 * @since 2.3.0 273 * @since 4.4.0 Added the `$ this` parameter.274 * @since 4.8.1 The `$ this` param may now be a `WP_Widget_Custom_HTML` object in addition to a `WP_Widget_Text` object.273 * @since 4.4.0 Added the `$widget` parameter. 274 * @since 4.8.1 The `$widget` param may now be a `WP_Widget_Custom_HTML` object in addition to a `WP_Widget_Text` object. 275 275 * 276 276 * @param string $text The widget content. 277 277 * @param array $instance Array of settings for the current widget. 278 * @param WP_Widget_Text|WP_Widget_Custom_HTML $ this Current Textwidget instance.278 * @param WP_Widget_Text|WP_Widget_Custom_HTML $widget Current text or HTML widget instance. 279 279 */ 280 280 $text = apply_filters( 'widget_text', $text, $instance, $this ); … … 291 291 * @param string $text The widget content. 292 292 * @param array $instance Array of settings for the current widget. 293 * @param WP_Widget_Text $ thisCurrent Text widget instance.293 * @param WP_Widget_Text $widget Current Text widget instance. 294 294 */ 295 295 $text = apply_filters( 'widget_text_content', $text, $instance, $this );
Note: See TracChangeset
for help on using the changeset viewer.