mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Docs: Document the $wp_registered_sidebars global in wp_map_sidebars_widgets().
Follow-up to [41555]. Props shailu25. See #60021. git-svn-id: https://develop.svn.wordpress.org/trunk@57234 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1370,6 +1370,8 @@ function retrieve_widgets( $theme_changed = false ) {
|
||||
* @since 4.9.0
|
||||
* @since 4.9.2 Always tries to restore widget assignments from previous data, not just if sidebars needed mapping.
|
||||
*
|
||||
* @global array $wp_registered_sidebars The registered sidebars.
|
||||
*
|
||||
* @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs.
|
||||
* @return array Mapped sidebars widgets.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user