Make WordPress Core

Ticket #30315: 30315.2.diff

File 30315.2.diff, 1.0 KB (added by blobaugh, 10 years ago)

Adding documentation to wp_list_widget_controls_dynamic_sidebar

  • wp-admin/includes/widgets.php

    diff --git wp-admin/includes/widgets.php wp-admin/includes/widgets.php
    index c869449..d815456 100644
    function wp_list_widget_controls( $sidebar, $sidebar_name = '' ) { 
    9595}
    9696
    9797/**
    98  * {@internal Missing Short Description}}
     98 * Sets up a list of data about the widget such as the before_widget and after_widget
     99 * items on the widget admin page. Does not deal with any data saved on the widget
     100 * administration page or data the widget itself may builds. This function should
     101 * generally only be used by WordPress internally and not called via plugins.
    99102 *
    100103 * @since 2.5.0
    101104 *
    102  * @param array $params
     105 * @param array $params {
     106 *              Details about the widget
     107
     108                @type array 0 Associative array with the following details about the widget:
     109                                          widget_id, widget_name, _display, _temp_id, _multi_num, _add
     110                @type array 1 No longer used
     111 * }
    103112 * @return array
    104113 */
    105114function wp_list_widget_controls_dynamic_sidebar( $params ) {