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

See #51800.

git-svn-id: https://develop.svn.wordpress.org/trunk@50372 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2021-02-17 11:46:35 +00:00
parent 135d567399
commit e49c3c7f18

View File

@ -880,7 +880,7 @@ function dynamic_sidebar( $index = 1 ) {
* @global array $wp_registered_widgets
*
* @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.
* @param string|false $id_base Optional. The base ID of a widget created by extending WP_Widget.
* Default false.