diff --git a/src/wp-includes/global-styles-and-settings.php b/src/wp-includes/global-styles-and-settings.php index a0b91a4d219ed..ac73c889e5ad8 100644 --- a/src/wp-includes/global-styles-and-settings.php +++ b/src/wp-includes/global-styles-and-settings.php @@ -75,11 +75,13 @@ function wp_get_global_styles( $path = array(), $context = array() ) { * Returns the stylesheet resulting of merging core, theme, and user data. * * @since 5.9.0 + * @since 6.1.0 Added 'base-layout-styles' support. * - * @param array $types Types of styles to load. Optional. - * 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. + * @param array $types Optional. Types of styles to load. + * It accepts as values 'variables', 'presets', 'styles', 'base-layout-styles'. + * If empty, it'll load the following: + * - for themes without theme.json: 'variables', 'presets', 'base-layout-styles'. + * - for themes with theme.json: 'variables', 'presets', 'styles'. * @return string Stylesheet. */ function wp_get_global_stylesheet( $types = array() ) {