Widgets: Update globals documentation.
It doesn't look like `wp_register_sidebar_widget()` ever used a global named `$wp_register_widget_defaults`. It does however make use of `$wp_registered_widget_controls` now. See [8960], [30776]. Props upadalavipul. Fixes #41592. Built from https://develop.svn.wordpress.org/trunk@41798 git-svn-id: http://core.svn.wordpress.org/trunk@41632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
35b5c9e762
commit
8911893672
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.9-beta1-41797';
|
$wp_version = '4.9-beta1-41798';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
|
@ -315,8 +315,8 @@ function is_registered_sidebar( $sidebar_id ) {
|
||||||
*
|
*
|
||||||
* @since 2.2.0
|
* @since 2.2.0
|
||||||
*
|
*
|
||||||
* @global array $wp_registered_widgets Uses stored registered widgets.
|
* @global array $wp_registered_widgets Uses stored registered widgets.
|
||||||
* @global array $wp_register_widget_defaults Retrieves widget defaults.
|
* @global array $wp_registered_widget_controls Stores the registered widget control (options).
|
||||||
* @global array $wp_registered_widget_updates
|
* @global array $wp_registered_widget_updates
|
||||||
* @global array $_wp_deprecated_widgets_callbacks
|
* @global array $_wp_deprecated_widgets_callbacks
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue