From 3fbc0e5a9b1a875e4254938e92903e6120d01312 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 17 Feb 2021 11:48:12 +0000 Subject: [PATCH] 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 --- wp-includes/version.php | 2 +- wp-includes/widgets.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index 53260a95b3..5b542b9564 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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. diff --git a/wp-includes/widgets.php b/wp-includes/widgets.php index c2d6396d18..1987023463 100644 --- a/wp-includes/widgets.php +++ b/wp-includes/widgets.php @@ -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.