Make WordPress Core

Changeset 56170


Ignore:
Timestamp:
07/09/2023 02:29:16 PM (2 years ago)
Author:
audrasjb
Message:

Twenty Twenty-One: Replace the experimental link color theme support.

This replaces add_theme_support( 'experimental-link-color' ) with add_theme_support( 'link-color' ), to provide the feature to Twenty Twenty-One users, but
also to avoid throwing a "doing it wrong" message when Gutenberg version 16.2 is active.

Follow-up to [58597].

Props poena.
Fixes #58702.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyone/functions.php

    r56118 r56170  
    323323        add_theme_support( 'custom-line-height' );
    324324
    325         // Add support for experimental link color control.
    326         add_theme_support( 'experimental-link-color' );
     325        // Add support for link color control.
     326        add_theme_support( 'link-color' );
    327327
    328328        // Add support for experimental cover block spacing.
Note: See TracChangeset for help on using the changeset viewer.