Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add comment in the plugin
  • Loading branch information
oandregal committed Jul 2, 2021
commit 8e3614477615cec74f757cfd7e41713023f96cd2
4 changes: 4 additions & 0 deletions lib/class-wp-theme-json-gutenberg.php
Original file line number Diff line number Diff line change
Expand Up @@ -1348,6 +1348,10 @@ public static function get_from_editor_settings( $settings ) {
}

// Things that didn't land in core yet, so didn't have a setting assigned.
// This should be removed when the plugin minimum WordPress version
// is bumped to 5.8.
//
// Do not port this to WordPress core.
if ( current( (array) get_theme_support( 'experimental-link-color' ) ) ) {
if ( ! isset( $theme_settings['settings']['color'] ) ) {
$theme_settings['settings']['color'] = array();
Expand Down