mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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
This commit is contained in:
parent
66469efa99
commit
39043f8799
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user