diff --git src/wp-includes/bookmark.php src/wp-includes/bookmark.php
index 47a86d865d..8fcc1bc247 100644
|
|
|
|
| 19 | 19 | * respectively. Default OBJECT. |
| 20 | 20 | * @param string $filter Optional. How to sanitize bookmark fields. Default 'raw'. |
| 21 | 21 | * @return array|object|null Type returned depends on $output value. |
| | 22 | * |
| | 23 | * @global array link |
| 22 | 24 | */ |
| 23 | 25 | function get_bookmark( $bookmark, $output = OBJECT, $filter = 'raw' ) { |
| 24 | 26 | global $wpdb; |
diff --git src/wp-includes/class-wp-editor.php src/wp-includes/class-wp-editor.php
index bd73540bc9..5bef182c3c 100644
|
|
|
final class _WP_Editors { |
| 153 | 153 | * @param string $editor_id HTML ID for the textarea and TinyMCE and Quicktags instances. |
| 154 | 154 | * Should not contain square brackets. |
| 155 | 155 | * @param array $settings See _WP_Editors::parse_settings() for description. |
| | 156 | * |
| | 157 | * @global WP_Screen $current_screen WordPress current screen object. |
| 156 | 158 | */ |
| 157 | 159 | public static function editor( $content, $editor_id, $settings = array() ) { |
| 158 | 160 | $set = self::parse_settings( $editor_id, $settings ); |
diff --git src/wp-includes/widgets.php src/wp-includes/widgets.php
index c568cbe301..b549e81972 100644
|
|
|
function retrieve_widgets( $theme_changed = false ) { |
| 1372 | 1372 | * |
| 1373 | 1373 | * @param array $existing_sidebars_widgets List of sidebars and their widget instance IDs. |
| 1374 | 1374 | * @return array Mapped sidebars widgets. |
| | 1375 | * |
| | 1376 | * @global array $wp_registered_sidebars Registered sidebars. |
| 1375 | 1377 | */ |
| 1376 | 1378 | function wp_map_sidebars_widgets( $existing_sidebars_widgets ) { |
| 1377 | 1379 | global $wp_registered_sidebars; |
| … |
… |
function wp_map_sidebars_widgets( $existing_sidebars_widgets ) { |
| 1547 | 1549 | * @param array $sidebars_widgets List of sidebars and their widget instance IDs. |
| 1548 | 1550 | * @param array $allowed_widget_ids Optional. List of widget IDs to compare against. Default: Registered widgets. |
| 1549 | 1551 | * @return array Sidebars with allowed widgets. |
| | 1552 | * |
| | 1553 | * * @global array wp_registered_widgets |
| 1550 | 1554 | */ |
| 1551 | 1555 | function _wp_remove_unregistered_widgets( $sidebars_widgets, $allowed_widget_ids = array() ) { |
| 1552 | 1556 | if ( empty( $allowed_widget_ids ) ) { |
| … |
… |
function wp_assign_widget_to_sidebar( $widget_id, $sidebar_id ) { |
| 1971 | 1975 | * @param string $widget_id Widget ID. |
| 1972 | 1976 | * @param string $sidebar_id Sidebar ID. |
| 1973 | 1977 | * @return string |
| | 1978 | * |
| | 1979 | * @global array $wp_registered_widgets Uses stored registered widgets. |
| | 1980 | * @global array $wp_registered_sidebars Registered sidebars. |
| 1974 | 1981 | */ |
| 1975 | 1982 | function wp_render_widget( $widget_id, $sidebar_id ) { |
| 1976 | 1983 | global $wp_registered_widgets, $wp_registered_sidebars; |