From f243cd573ce9ed7aed4876f1f9327858476785fe Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Sun, 27 Oct 2019 19:35:01 +0000 Subject: [PATCH] Docs: Correct invalid hook docblock placement. See #48303 Built from https://develop.svn.wordpress.org/trunk@46604 git-svn-id: http://core.svn.wordpress.org/trunk@46401 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/blocks/latest-comments.php | 2 +- wp-includes/version.php | 2 +- .../widgets/class-wp-widget-archives.php | 22 ++++++++--------- wp-includes/widgets/class-wp-widget-pages.php | 22 ++++++++--------- .../class-wp-widget-recent-comments.php | 22 ++++++++--------- .../widgets/class-wp-widget-recent-posts.php | 22 ++++++++--------- .../widgets/class-wp-widget-tag-cloud.php | 24 +++++++++---------- 7 files changed, 58 insertions(+), 58 deletions(-) diff --git a/wp-includes/blocks/latest-comments.php b/wp-includes/blocks/latest-comments.php index d68e89a152..cc0c234ec4 100644 --- a/wp-includes/blocks/latest-comments.php +++ b/wp-includes/blocks/latest-comments.php @@ -41,8 +41,8 @@ function wp_latest_comments_draft_or_post_title( $post = 0 ) { * @return string Returns the post content with latest comments added. */ function render_block_core_latest_comments( $attributes = array() ) { - // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php. $comments = get_comments( + // This filter is documented in wp-includes/widgets/class-wp-widget-recent-comments.php. apply_filters( 'widget_comments_args', array( diff --git a/wp-includes/version.php b/wp-includes/version.php index 721e24dd01..1f4acef111 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-46603'; +$wp_version = '5.4-alpha-46604'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-archives.php b/wp-includes/widgets/class-wp-widget-archives.php index 4cf0db82c9..4767f673f4 100644 --- a/wp-includes/widgets/class-wp-widget-archives.php +++ b/wp-includes/widgets/class-wp-widget-archives.php @@ -124,18 +124,18 @@ class WP_Widget_Archives extends WP_Widget {