Make WordPress Core

Changeset 57261


Ignore:
Timestamp:
01/10/2024 04:07:32 AM (10 months ago)
Author:
isabel_brison
Message:

Editor: fix inline comment formatting.

Correctly formats inline comment in wp_get_global_stylesheet.

Follow-up to [57259].

Props mukesh27.
See #60134.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/global-styles-and-settings.php

    r57259 r57261  
    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' );
Note: See TracChangeset for help on using the changeset viewer.