Docs: Various docblock fixes in `global-styles-and-settings.php`, as per documentation standards.

Follow-up to [54408].

See #55646.

Built from https://develop.svn.wordpress.org/trunk@54412


git-svn-id: http://core.svn.wordpress.org/trunk@53971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-10-07 12:09:11 +00:00
parent cd0a4ee190
commit ea2a6daa0b
2 changed files with 3 additions and 6 deletions

View File

@ -6,7 +6,7 @@
*/ */
/** /**
* Function to get the settings resulting of merging core, theme, and user data. * Gets the settings resulting of merging core, theme, and user data.
* *
* @since 5.9.0 * @since 5.9.0
* *
@ -21,7 +21,6 @@
* Valid values are 'all' (core, theme, and user) or 'base' (core and theme). * Valid values are 'all' (core, theme, and user) or 'base' (core and theme).
* If empty or unknown, 'all' is used. * If empty or unknown, 'all' is used.
* } * }
*
* @return array The settings to retrieve. * @return array The settings to retrieve.
*/ */
function wp_get_global_settings( $path = array(), $context = array() ) { function wp_get_global_settings( $path = array(), $context = array() ) {
@ -40,7 +39,7 @@ function wp_get_global_settings( $path = array(), $context = array() ) {
} }
/** /**
* Function to get the styles resulting of merging core, theme, and user data. * Gets the styles resulting of merging core, theme, and user data.
* *
* @since 5.9.0 * @since 5.9.0
* *
@ -55,7 +54,6 @@ function wp_get_global_settings( $path = array(), $context = array() ) {
* Valid values are 'all' (core, theme, and user) or 'base' (core and theme). * Valid values are 'all' (core, theme, and user) or 'base' (core and theme).
* If empty or unknown, 'all' is used. * If empty or unknown, 'all' is used.
* } * }
*
* @return array The styles to retrieve. * @return array The styles to retrieve.
*/ */
function wp_get_global_styles( $path = array(), $context = array() ) { function wp_get_global_styles( $path = array(), $context = array() ) {
@ -82,7 +80,6 @@ function wp_get_global_styles( $path = array(), $context = array() ) {
* It accepts 'variables', 'styles', 'presets' as values. * It accepts 'variables', 'styles', 'presets' as values.
* If empty, it'll load all for themes with theme.json support * If empty, it'll load all for themes with theme.json support
* and only [ 'variables', 'presets' ] for themes without theme.json support. * and only [ 'variables', 'presets' ] for themes without theme.json support.
*
* @return string Stylesheet. * @return string Stylesheet.
*/ */
function wp_get_global_stylesheet( $types = array() ) { function wp_get_global_stylesheet( $types = array() ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-beta3-54411'; $wp_version = '6.1-beta3-54412';
/** /**
* 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.