Skip to content

Commit 39043f8

Browse files
Docs: Correct type for the $widget parameter of the widget_block_content filter.
Follow-up to [51058]. See #51566. git-svn-id: https://develop.svn.wordpress.org/trunk@51063 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 66469ef commit 39043f8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/wp-includes/widgets/class-wp-widget-block.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function __construct() {
5151
*
5252
* @since 5.8.0
5353
*
54-
* @param array $args Display arguments including 'before_title', 'after_title',
54+
* @param array $args Display arguments including 'before_title', 'after_title',
5555
* 'before_widget', and 'after_widget'.
5656
* @param array $instance Settings for the current Block widget instance.
5757
*
@@ -71,9 +71,9 @@ public function widget( $args, $instance ) {
7171
*
7272
* @since 5.8.0
7373
*
74-
* @param string $content The widget content.
75-
* @param array $instance Array of settings for the current widget.
76-
* @param WP_Widget_Text $widget Current Block widget instance.
74+
* @param string $content The widget content.
75+
* @param array $instance Array of settings for the current widget.
76+
* @param WP_Widget_Block $widget Current Block widget instance.
7777
*/
7878
echo apply_filters(
7979
'widget_block_content',

0 commit comments

Comments
 (0)