From 8512ff08c07cd588ca182778c85739fbf0dd3ca6 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sat, 5 Sep 2015 23:37:17 +0000 Subject: [PATCH] Correct the docblock for `wp_list_widget_controls()`. Props swissspidy. Fixes #33751. git-svn-id: https://develop.svn.wordpress.org/trunk@33930 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/widgets.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/includes/widgets.php b/src/wp-admin/includes/widgets.php index 36cf6449a8..898604780e 100644 --- a/src/wp-admin/includes/widgets.php +++ b/src/wp-admin/includes/widgets.php @@ -67,8 +67,8 @@ function _sort_name_callback( $a, $b ) { * * @since 2.5.0 * - * @param string $sidebar id slug of the sidebar - * @param string optional $sidebar_name Include the HTML for the sidebar name + * @param string $sidebar Sidebar ID. + * @param string $sidebar_name Optional. Sidebar name. Default empty. */ function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );