Make WordPress Core

Changeset 57216


Ignore:
Timestamp:
12/21/2023 06:34:05 PM (9 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document some globals in wp-includes/widgets.php.

Follow-up to [41555], [50995].

Props upadalavipul.
See #60021.

File:
1 edited

Legend:

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

    r56194 r57216  
    15451545 * @since 4.9.0
    15461546 *
     1547 * @global array $wp_registered_widgets
     1548 *
    15471549 * @param array $sidebars_widgets   List of sidebars and their widget instance IDs.
    15481550 * @param array $allowed_widget_ids Optional. List of widget IDs to compare against. Default: Registered widgets.
     
    19691971 * @since 5.8.0
    19701972 *
     1973 * @global array $wp_registered_widgets
     1974 * @global array $wp_registered_sidebars
     1975 *
    19711976 * @param string $widget_id Widget ID.
    19721977 * @param string $sidebar_id Sidebar ID.
     
    20342039 *
    20352040 * @since 5.8.0
     2041 *
     2042 * @global array $wp_registered_widget_controls
    20362043 *
    20372044 * @param string $id Widget ID.
Note: See TracChangeset for help on using the changeset viewer.