diff -Naur wp-admin/widgets.php wp-admin/widgets.php
old
|
new
|
|
283 | 283 | * |
284 | 284 | * @since 2.2.0 |
285 | 285 | * |
286 | | * @global array $wp_registered_sidebars Stores the new sidebar in this array by sidebar ID. |
| 286 | * @global array $wp_registered_sidebars remove the sidebar in this array by sidebar ID. |
287 | 287 | * |
288 | 288 | * @param string|int $sidebar_id The ID of the sidebar when it was registered. |
289 | 289 | */ |
… |
… |
|
826 | 826 | * @since 2.2.0 |
827 | 827 | * |
828 | 828 | * @global array $wp_registered_widgets |
829 | | * @global array $wp_registered_sidebars |
| 829 | * @global array $wp_registered_sidebars Registered sidebars. |
830 | 830 | * |
831 | 831 | * @return bool True, if using widgets. False, if not using widgets. |
832 | 832 | */ |
… |
… |
|
945 | 945 | * @since 2.2.0 |
946 | 946 | * @access private |
947 | 947 | * |
948 | | * @global array $wp_registered_sidebars |
| 948 | * @global array $wp_registered_sidebars Registered sidebars. |
949 | 949 | * |
950 | 950 | * @return array |
951 | 951 | */ |
… |
… |
|
1119 | 1119 | * |
1120 | 1120 | * @since 2.8.0 |
1121 | 1121 | * |
1122 | | * @global array $wp_registered_sidebars |
| 1122 | * @global array $wp_registered_sidebars Registered sidebars. |
1123 | 1123 | * @global array $sidebars_widgets |
1124 | 1124 | * @global array $wp_registered_widgets |
1125 | 1125 | * |
… |
… |
|
1181 | 1181 | * |
1182 | 1182 | * @since 4.9.0 |
1183 | 1183 | * @since 4.9.2 Always tries to restore widget assignments from previous data, not just if sidebars needed mapping. |
1184 | | * |
| 1184 | * @global array $wp_registered_sidebars Registered sidebars. |
1185 | 1185 | * @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs. |
1186 | 1186 | * @return array Mapped sidebars widgets. |
1187 | 1187 | */ |