Make WordPress Core

Changeset 51063


Ignore:
Timestamp:
06/02/2021 10:56:17 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct type for the $widget parameter of the widget_block_content filter.

Follow-up to [51058].

See #51566.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/widgets/class-wp-widget-block.php

    r51058 r51063  
    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.
     
    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(
Note: See TracChangeset for help on using the changeset viewer.