From d74ed551cc6a9a74ee405310e66b445fcc993723 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 7 Oct 2022 12:07:09 +0000 Subject: [PATCH] Docs: Various docblock fixes in `global-styles-and-settings.php`, as per documentation standards. Follow-up to [54408]. See #55646. git-svn-id: https://develop.svn.wordpress.org/trunk@54412 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/global-styles-and-settings.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/wp-includes/global-styles-and-settings.php b/src/wp-includes/global-styles-and-settings.php index da1cb97c07..ca3d8fabaa 100644 --- a/src/wp-includes/global-styles-and-settings.php +++ b/src/wp-includes/global-styles-and-settings.php @@ -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 * @@ -21,7 +21,6 @@ * Valid values are 'all' (core, theme, and user) or 'base' (core and theme). * If empty or unknown, 'all' is used. * } - * * @return array The settings to retrieve. */ 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 * @@ -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). * If empty or unknown, 'all' is used. * } - * * @return array The styles to retrieve. */ 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. * If empty, it'll load all for themes with theme.json support * and only [ 'variables', 'presets' ] for themes without theme.json support. - * * @return string Stylesheet. */ function wp_get_global_stylesheet( $types = array() ) {