From 57597d9cccc68943fe706c8bb3148a2c71ac2105 Mon Sep 17 00:00:00 2001 From: Isabel Brison Date: Wed, 10 Jan 2024 04:07:32 +0000 Subject: [PATCH] Editor: fix inline comment formatting. Correctly formats inline comment in `wp_get_global_stylesheet`. Follow-up to [57259]. Props mukesh27. See #60134. git-svn-id: https://develop.svn.wordpress.org/trunk@57261 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/global-styles-and-settings.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/global-styles-and-settings.php b/src/wp-includes/global-styles-and-settings.php index 032913db44..acca33be1e 100644 --- a/src/wp-includes/global-styles-and-settings.php +++ b/src/wp-includes/global-styles-and-settings.php @@ -223,9 +223,9 @@ function wp_get_global_stylesheet( $types = array() ) { */ $origins = array( 'default', 'theme', 'custom' ); /* - * If the theme doesn't have theme.json but supports both appearance tools and color palette, - * the 'theme' origin should be included so color palette presets are also output. - */ + * If the theme doesn't have theme.json but supports both appearance tools and color palette, + * the 'theme' origin should be included so color palette presets are also output. + */ if ( ! $supports_theme_json && ( current_theme_supports( 'appearance-tools' ) || current_theme_supports( 'border' ) ) && current_theme_supports( 'editor-color-palette' ) ) { $origins = array( 'default', 'theme' ); } elseif ( ! $supports_theme_json ) {