From 6f81ec0a2a6fd35ad30ae6eee8e70b6d606f9aab Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 25 Sep 2015 19:24:24 +0000 Subject: [PATCH] Docs: Add a missing summary, version, and tag descriptions to the DocBlock for `WP_Widget_Text::widget()`. See #32246. Built from https://develop.svn.wordpress.org/trunk@34553 git-svn-id: http://core.svn.wordpress.org/trunk@34517 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-text.php | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 62f8569e47..d4a80805c2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34552'; +$wp_version = '4.4-alpha-34553'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-text.php b/wp-includes/widgets/class-wp-widget-text.php index 859b4ecdf1..5e11b80e31 100644 --- a/wp-includes/widgets/class-wp-widget-text.php +++ b/wp-includes/widgets/class-wp-widget-text.php @@ -23,10 +23,17 @@ class WP_Widget_Text extends WP_Widget { } /** - * @param array $args - * @param array $instance + * Outputs the Text widget content. + * + * @since 2.8.0 + * @access public + * + * @param array $args Display arguments including 'before_title', 'after_title', + * 'before_widget', and 'after_widget'. + * @param array $instance The settings for the particular instance of the widget. */ public function widget( $args, $instance ) { + /** This filter is documented in wp-includes/widgets/class-wp-widget-pages.php */ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );