Docs: Correct the type of $widget_id argument in is_active_widget().

See #51800.
Built from https://develop.svn.wordpress.org/trunk@50372


git-svn-id: http://core.svn.wordpress.org/trunk@49983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-02-17 11:48:12 +00:00
parent a9d04adf20
commit 3fbc0e5a9b
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.7-beta3-50371'; $wp_version = '5.7-beta3-50372';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -880,7 +880,7 @@ function dynamic_sidebar( $index = 1 ) {
* @global array $wp_registered_widgets * @global array $wp_registered_widgets
* *
* @param callable|false $callback Optional. Widget callback to check. Default false. * @param callable|false $callback Optional. Widget callback to check. Default false.
* @param int|false $widget_id Optional. Widget ID. Optional, but needed for checking. * @param string|false $widget_id Optional. Widget ID. Optional, but needed for checking.
* Default false. * Default false.
* @param string|false $id_base Optional. The base ID of a widget created by extending WP_Widget. * @param string|false $id_base Optional. The base ID of a widget created by extending WP_Widget.
* Default false. * Default false.