From fde119d446e5680e49e024195db10a0d7ffd6991 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 2 Jun 2021 10:57:57 +0000 Subject: [PATCH] Docs: Correct type for the `$widget` parameter of the `widget_block_content` filter. Follow-up to [51058]. See #51566. Built from https://develop.svn.wordpress.org/trunk@51063 git-svn-id: http://core.svn.wordpress.org/trunk@50672 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- wp-includes/widgets/class-wp-widget-block.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 5217fadbbb..9f0c41c4bc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-51062'; +$wp_version = '5.8-alpha-51063'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-includes/widgets/class-wp-widget-block.php b/wp-includes/widgets/class-wp-widget-block.php index b191bfaf31..ecbc02d043 100644 --- a/wp-includes/widgets/class-wp-widget-block.php +++ b/wp-includes/widgets/class-wp-widget-block.php @@ -51,7 +51,7 @@ class WP_Widget_Block extends WP_Widget { * * @since 5.8.0 * - * @param array $args Display arguments including 'before_title', 'after_title', + * @param array $args Display arguments including 'before_title', 'after_title', * 'before_widget', and 'after_widget'. * @param array $instance Settings for the current Block widget instance. * @@ -71,9 +71,9 @@ class WP_Widget_Block extends WP_Widget { * * @since 5.8.0 * - * @param string $content The widget content. - * @param array $instance Array of settings for the current widget. - * @param WP_Widget_Text $widget Current Block widget instance. + * @param string $content The widget content. + * @param array $instance Array of settings for the current widget. + * @param WP_Widget_Block $widget Current Block widget instance. */ echo apply_filters( 'widget_block_content',