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
This commit is contained in:
Sergey Biryukov 2015-09-05 23:37:17 +00:00
parent 547742f14a
commit 8512ff08c0

View File

@ -67,8 +67,8 @@ function _sort_name_callback( $a, $b ) {
* *
* @since 2.5.0 * @since 2.5.0
* *
* @param string $sidebar id slug of the sidebar * @param string $sidebar Sidebar ID.
* @param string optional $sidebar_name Include the HTML for the sidebar name * @param string $sidebar_name Optional. Sidebar name. Default empty.
*/ */
function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) {
add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' ); add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );