Changeset 52232 for trunk/src/wp-includes/global-styles-and-settings.php
- Timestamp:
- 11/23/2021 05:38:45 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/global-styles-and-settings.php
r52054 r52232 106 106 } 107 107 108 $origins = array( ' core', 'theme', 'user' );108 $origins = array( 'default', 'theme', 'user' ); 109 109 if ( ! $supports_theme_json && ! $supports_link_color ) { 110 110 // In this case we only enqueue the core presets (CSS Custom Properties + the classes). 111 $origins = array( ' core' );111 $origins = array( 'default' ); 112 112 } elseif ( ! $supports_theme_json && $supports_link_color ) { 113 113 // For the legacy link color feature to work, the CSS Custom Properties 114 114 // should be in scope (either the core or the theme ones). 115 $origins = array( ' core', 'theme' );115 $origins = array( 'default', 'theme' ); 116 116 } 117 117
Note: See TracChangeset
for help on using the changeset viewer.