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:
audrasjb 2021-12-12 19:01:02 +00:00
parent f4683efbc9
commit cfd6406f8f
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @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. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.

View File

@ -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 * @since 5.9.0
* *
* @global array $wp_registered_sidebars The registered sidebars. * @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. * @return array|null The discovered sidebar, or null if it is not registered.
*/ */
function wp_get_sidebar( $id ) { function wp_get_sidebar( $id ) {