Make WordPress Core

Changeset 57234


Ignore:
Timestamp:
12/31/2023 01:32:50 PM (6 months ago)
Author:
SergeyBiryukov
Message:

Docs: Document the $wp_registered_sidebars global in wp_map_sidebars_widgets().

Follow-up to [41555].

Props shailu25.
See #60021.

File:
1 edited

Legend:

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

    r57216 r57234  
    13711371 * @since 4.9.2 Always tries to restore widget assignments from previous data, not just if sidebars needed mapping.
    13721372 *
     1373 * @global array $wp_registered_sidebars The registered sidebars.
     1374 *
    13731375 * @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs.
    13741376 * @return array Mapped sidebars widgets.
Note: See TracChangeset for help on using the changeset viewer.