diff --git a/src/wp-includes/bookmark.php b/src/wp-includes/bookmark.php
index 47a86d865d..4ceee23edd 100644
a
|
b
|
|
12 | 12 | * @since 2.1.0 |
13 | 13 | * |
14 | 14 | * @global wpdb $wpdb WordPress database abstraction object. |
| 15 | * @global array $link |
15 | 16 | * |
16 | 17 | * @param int|stdClass $bookmark |
17 | 18 | * @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which |
diff --git a/src/wp-includes/class-wp-editor.php b/src/wp-includes/class-wp-editor.php
index bd73540bc9..31b7e9e586 100644
a
|
b
|
final class _WP_Editors { |
149 | 149 | * |
150 | 150 | * @since 3.3.0 |
151 | 151 | * |
| 152 | * @global WP_Screen $current_screen WordPress current screen object. |
| 153 | * |
152 | 154 | * @param string $content Initial content for the editor. |
153 | 155 | * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances. |
154 | 156 | * Should not contain square brackets. |
diff --git a/src/wp-includes/rss.php b/src/wp-includes/rss.php
index 6d8941ab38..4d3f35e5cb 100644
a
|
b
|
function _response_to_rss ($resp) { |
631 | 631 | * Set up constants with default values, unless user overrides. |
632 | 632 | * |
633 | 633 | * @since 1.5.0 |
| 634 | * |
| 635 | * @global string $wp_version The WordPress version string. |
| 636 | * |
634 | 637 | * @package External |
635 | 638 | * @subpackage MagpieRSS |
636 | 639 | */ |
diff --git a/src/wp-includes/widgets.php b/src/wp-includes/widgets.php
index c568cbe301..9969958f00 100644
a
|
b
|
global $wp_registered_sidebars, $wp_registered_widgets, $wp_registered_widget_co |
28 | 28 | /** |
29 | 29 | * Stores the sidebars, since many themes can have more than one. |
30 | 30 | * |
31 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 31 | * @global array $wp_registered_sidebars The registered sidebars. |
32 | 32 | * @since 2.2.0 |
33 | 33 | */ |
34 | 34 | $wp_registered_sidebars = array(); |
… |
… |
function register_sidebars( $number = 1, $args = array() ) { |
224 | 224 | * @since 5.6.0 Added the `before_sidebar` and `after_sidebar` arguments. |
225 | 225 | * @since 5.9.0 Added the `show_in_rest` argument. |
226 | 226 | * |
227 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 227 | * @global array $wp_registered_sidebars The registered sidebars. |
228 | 228 | * |
229 | 229 | * @param array|string $args { |
230 | 230 | * Optional. Array or string of arguments for the sidebar being registered. |
… |
… |
function register_sidebar( $args = array() ) { |
326 | 326 | * |
327 | 327 | * @since 2.2.0 |
328 | 328 | * |
329 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 329 | * @global array $wp_registered_sidebars The registered sidebars. |
330 | 330 | * |
331 | 331 | * @param string|int $sidebar_id The ID of the sidebar when it was registered. |
332 | 332 | */ |
… |
… |
function unregister_sidebar( $sidebar_id ) { |
341 | 341 | * |
342 | 342 | * @since 4.4.0 |
343 | 343 | * |
344 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 344 | * @global array $wp_registered_sidebars The registered sidebars. |
345 | 345 | * |
346 | 346 | * @param string|int $sidebar_id The ID of the sidebar when it was registered. |
347 | 347 | * @return bool True if the sidebar is registered, false otherwise. |
… |
… |
function wp_widget_description( $id ) { |
460 | 460 | * |
461 | 461 | * @since 2.9.0 |
462 | 462 | * |
463 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 463 | * @global array $wp_registered_sidebars The registered sidebars. |
464 | 464 | * |
465 | 465 | * @param string $id sidebar ID. |
466 | 466 | * @return string|void Sidebar description, if available. |
… |
… |
function wp_unregister_widget_control( $id ) { |
680 | 680 | * |
681 | 681 | * @since 2.2.0 |
682 | 682 | * |
683 | | * @global array $wp_registered_sidebars Registered sidebars. |
684 | | * @global array $wp_registered_widgets Registered widgets. |
| 683 | * @global array $wp_registered_sidebars The registered sidebars. |
| 684 | * @global array $wp_registered_widgets The registered widgets. |
685 | 685 | * |
686 | 686 | * @param int|string $index Optional. Index, name or ID of dynamic sidebar. Default 1. |
687 | 687 | * @return bool True, if widget sidebar was found and called. False if not found or not called. |
… |
… |
function dynamic_sidebar( $index = 1 ) { |
891 | 891 | * |
892 | 892 | * @since 2.2.0 |
893 | 893 | * |
894 | | * @global array $wp_registered_widgets |
| 894 | * @global array $wp_registered_widgets The registered widgets. |
895 | 895 | * |
896 | 896 | * @param callable|false $callback Optional. Widget callback to check. Default false. |
897 | 897 | * @param string|false $widget_id Optional. Widget ID. Optional, but needed for checking. |
… |
… |
function is_active_widget( $callback = false, $widget_id = false, $id_base = fal |
937 | 937 | * |
938 | 938 | * @since 2.2.0 |
939 | 939 | * |
940 | | * @global array $wp_registered_widgets Registered widgets. |
941 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 940 | * @global array $wp_registered_widgets The registered widgets. |
| 941 | * @global array $wp_registered_sidebars The registered sidebars. |
942 | 942 | * |
943 | 943 | * @return bool True if using widgets, false otherwise. |
944 | 944 | */ |
… |
… |
function wp_set_sidebars_widgets( $sidebars_widgets ) { |
1100 | 1100 | * @since 2.2.0 |
1101 | 1101 | * @access private |
1102 | 1102 | * |
1103 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 1103 | * @global array $wp_registered_sidebars The registered sidebars. |
1104 | 1104 | * |
1105 | 1105 | * @return array |
1106 | 1106 | */ |
… |
… |
function _wp_sidebars_changed() { |
1306 | 1306 | * |
1307 | 1307 | * @since 2.8.0 |
1308 | 1308 | * |
1309 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 1309 | * @global array $wp_registered_sidebars The registered sidebars. |
1310 | 1310 | * @global array $sidebars_widgets |
1311 | | * @global array $wp_registered_widgets Registered widgets. |
| 1311 | * @global array $wp_registered_widgets The registered widgets. |
1312 | 1312 | * |
1313 | 1313 | * @param string|bool $theme_changed Whether the theme was changed as a boolean. A value |
1314 | 1314 | * of 'customize' defers updates for the Customizer. |
… |
… |
function retrieve_widgets( $theme_changed = false ) { |
1370 | 1370 | * @since 4.9.0 |
1371 | 1371 | * @since 4.9.2 Always tries to restore widget assignments from previous data, not just if sidebars needed mapping. |
1372 | 1372 | * |
| 1373 | * @global array $wp_registered_sidebars The registered sidebars. |
| 1374 | * |
1373 | 1375 | * @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs. |
1374 | 1376 | * @return array Mapped sidebars widgets. |
1375 | 1377 | */ |
… |
… |
function wp_map_sidebars_widgets( $existing_sidebars_widgets ) { |
1544 | 1546 | * |
1545 | 1547 | * @since 4.9.0 |
1546 | 1548 | * |
| 1549 | * @global array $wp_registered_widgets The registered widgets. |
| 1550 | * |
1547 | 1551 | * @param array $sidebars_widgets List of sidebars and their widget instance IDs. |
1548 | 1552 | * @param array $allowed_widget_ids Optional. List of widget IDs to compare against. Default: Registered widgets. |
1549 | 1553 | * @return array Sidebars with allowed widgets. |
… |
… |
function wp_assign_widget_to_sidebar( $widget_id, $sidebar_id ) { |
1968 | 1972 | * |
1969 | 1973 | * @since 5.8.0 |
1970 | 1974 | * |
| 1975 | * @global array $wp_registered_widgets The registered widgets. |
| 1976 | * @global array $wp_registered_sidebars The registered sidebars. |
| 1977 | * |
1971 | 1978 | * @param string $widget_id Widget ID. |
1972 | 1979 | * @param string $sidebar_id Sidebar ID. |
1973 | 1980 | * @return string |
… |
… |
function wp_render_widget( $widget_id, $sidebar_id ) { |
2034 | 2041 | * |
2035 | 2042 | * @since 5.8.0 |
2036 | 2043 | * |
| 2044 | * @global array $wp_registered_widget_controls |
| 2045 | * |
2037 | 2046 | * @param string $id Widget ID. |
2038 | 2047 | * @return string|null |
2039 | 2048 | */ |
… |
… |
function wp_check_widget_editor_deps() { |
2116 | 2125 | * @since 6.2.0 |
2117 | 2126 | * @access private |
2118 | 2127 | * |
2119 | | * @global array $wp_registered_sidebars Registered sidebars. |
| 2128 | * @global array $wp_registered_sidebars The registered sidebars. |
2120 | 2129 | */ |
2121 | 2130 | function _wp_block_theme_register_classic_sidebars() { |
2122 | 2131 | global $wp_registered_sidebars; |