WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/28/2015 09:40:27 PM (7 years ago)
Author:
wonderboymusic
Message:

Add @global annotations for wp-admin/*.

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/widgets.php

    r31200 r32642  
    1111 *
    1212 * @since 2.5.0
     13 *
     14 * @global array $wp_registered_widgets
     15 * @global array $wp_registered_widget_controls
    1316 */
    1417function wp_list_widgets() {
     
    100103 * @since 2.5.0
    101104 *
     105 * @global array $wp_registered_widgets
     106 *
    102107 * @param array $params
    103108 * @return array
     
    124129}
    125130
    126 function next_widget_id_number($id_base) {
     131/**
     132 *
     133 * @global array $wp_registered_widgets
     134 *
     135 * @param string $id_base
     136 * @return int
     137 */
     138function next_widget_id_number( $id_base ) {
    127139    global $wp_registered_widgets;
    128140    $number = 1;
     
    143155 *
    144156 * @since 2.5.0
     157 *
     158 * @global array $wp_registered_widgets
     159 * @global array $wp_registered_widget_controls
     160 * @global array $sidebars_widgets
    145161 *
    146162 * @param array $sidebar_args
Note: See TracChangeset for help on using the changeset viewer.