Docs: Capitalize "ID", when referring to a sidebar ID in a more consistent way.
Follow-up to [52016]. See #53399. Built from https://develop.svn.wordpress.org/trunk@52361 git-svn-id: http://core.svn.wordpress.org/trunk@51953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f4683efbc9
commit
cfd6406f8f
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.9-beta2-52360';
|
||||
$wp_version = '5.9-beta2-52361';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
|
@ -1040,13 +1040,13 @@ function wp_get_sidebars_widgets( $deprecated = true ) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Retrieves the registered sidebar with the given id.
|
||||
* Retrieves the registered sidebar with the given ID.
|
||||
*
|
||||
* @since 5.9.0
|
||||
*
|
||||
* @global array $wp_registered_sidebars The registered sidebars.
|
||||
*
|
||||
* @param string $id The sidebar id.
|
||||
* @param string $id The sidebar ID.
|
||||
* @return array|null The discovered sidebar, or null if it is not registered.
|
||||
*/
|
||||
function wp_get_sidebar( $id ) {
|
||||
|
|
Loading…
Reference in New Issue