Make WordPress Core

Changeset 51306 for trunk


Ignore:
Timestamp:
07/02/2021 01:01:59 PM (5 years ago)
Author:
desrosj
Message:

Editor: Remove the experimental experimental-link-color feature.

This has been plugin only so far and should remain so.

Follow up to [50959].

Props nosolosw.
Fixes #53175.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-theme-json.php

    r51298 r51306  
    12201220                }
    12211221
    1222                 // Things that didn't land in core yet, so didn't have a setting assigned.
    1223                 if ( current( (array) get_theme_support( 'experimental-link-color' ) ) ) {
    1224                         if ( ! isset( $theme_settings['settings']['color'] ) ) {
    1225                                 $theme_settings['settings']['color'] = array();
    1226                         }
    1227                         $theme_settings['settings']['color']['link'] = true;
    1228                 }
    1229 
    12301222                return $theme_settings;
    12311223        }
Note: See TracChangeset for help on using the changeset viewer.