Changeset 57261
- Timestamp:
- 01/10/2024 04:07:32 AM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/global-styles-and-settings.php
r57259 r57261 224 224 $origins = array( 'default', 'theme', 'custom' ); 225 225 /* 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 */ 229 229 if ( ! $supports_theme_json && ( current_theme_supports( 'appearance-tools' ) || current_theme_supports( 'border' ) ) && current_theme_supports( 'editor-color-palette' ) ) { 230 230 $origins = array( 'default', 'theme' );
Note: See TracChangeset
for help on using the changeset viewer.