Skip to content

Commit 57597d9

Browse files
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
1 parent ca24196 commit 57597d9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/wp-includes/global-styles-and-settings.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ function wp_get_global_stylesheet( $types = array() ) {
223223
*/
224224
$origins = array( 'default', 'theme', 'custom' );
225225
/*
226-
* If the theme doesn't have theme.json but supports both appearance tools and color palette,
227-
* the 'theme' origin should be included so color palette presets are also output.
228-
*/
226+
* If the theme doesn't have theme.json but supports both appearance tools and color palette,
227+
* the 'theme' origin should be included so color palette presets are also output.
228+
*/
229229
if ( ! $supports_theme_json && ( current_theme_supports( 'appearance-tools' ) || current_theme_supports( 'border' ) ) && current_theme_supports( 'editor-color-palette' ) ) {
230230
$origins = array( 'default', 'theme' );
231231
} elseif ( ! $supports_theme_json ) {

0 commit comments

Comments
 (0)