WordPress.org

Make WordPress Core

Ticket #33751: 33751.patch

File 33751.patch, 671 bytes (added by swissspidy, 6 years ago)
  • src/wp-admin/includes/widgets.php

    diff --git src/wp-admin/includes/widgets.php src/wp-admin/includes/widgets.php
    index 36cf644..8986047 100644
    function _sort_name_callback( $a, $b ) { 
    6767 *
    6868 * @since 2.5.0
    6969 *
    70  * @param string $sidebar id slug of the sidebar
    71  * @param string optional $sidebar_name Include the HTML for the sidebar name
     70 * @param string $sidebar      Sidebar ID.
     71 * @param string $sidebar_name Optional. Sidebar name. Default empty.
    7272 */
    7373function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) {
    7474        add_filter( 'dynamic_sidebar_params', 'wp_list_widget_controls_dynamic_sidebar' );