Skip to content

Commit

Permalink
Replace experimental-link-color with link-color (#7221)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Jul 13, 2023
1 parent 4d7f302 commit da3442a
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions blockbase/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function blockbase_support() {
// Alignwide and alignfull classes in the block editor.
add_theme_support( 'align-wide' );

// Add support for experimental link color control.
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );

// Add support for responsive embedded content.
// https://github.com/WordPress/gutenberg/issues/26901
Expand Down
6 changes: 3 additions & 3 deletions hever/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ function hever_setup() {
varia_mobile_nav_on_side_setup();
}

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'hever_setup', 12 );
Expand Down Expand Up @@ -113,7 +113,7 @@ function hever_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions morden/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ function morden_setup() {
varia_mobile_nav_on_side_setup();
}

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'morden_setup', 12 );
Expand Down Expand Up @@ -112,7 +112,7 @@ function morden_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions rockfield/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ function rockfield_setup() {
)
);

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'rockfield_setup', 12 );
Expand Down Expand Up @@ -112,7 +112,7 @@ function rockfield_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions seedlet/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -253,8 +253,8 @@ function seedlet_setup() {
// Add support for custom line height controls.
add_theme_support( 'custom-line-height' );

// Add support for experimental link color control.
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );

// Add support for experimental cover block spacing.
add_theme_support( 'custom-spacing' );
Expand Down Expand Up @@ -307,7 +307,7 @@ function seedlet_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions shawburn/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ function shawburn_setup() {
// Enable Full Site Editing
add_theme_support( 'full-site-editing' );

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'shawburn_setup', 12 );
Expand Down Expand Up @@ -113,7 +113,7 @@ function shawburn_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions stow/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ function stow_setup() {
)
);

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'stow_setup', 12 );
Expand Down Expand Up @@ -124,7 +124,7 @@ function stow_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down
6 changes: 3 additions & 3 deletions stratford/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ function stratford_setup() {
// Remove footer menu
unregister_nav_menu( 'menu-2' );

// Add support for experimental link color via Gutenberg: https://github.com/WordPress/gutenberg/blob/master/docs/designers-developers/developers/themes/theme-support.md
add_theme_support( 'experimental-link-color' );
// Add support for link color control.
add_theme_support( 'link-color' );
}
endif;
add_action( 'after_setup_theme', 'stratford_setup', 12 );
Expand Down Expand Up @@ -125,7 +125,7 @@ function stratford_fonts_url() {

/**
* A filter to enable child themes to add/change/omit font families.
*
*
* @param array $font_families An array of font families to be imploded for the Google Font API
*/
$font_families = apply_filters( 'included_google_font_families', $font_families );
Expand Down

0 comments on commit da3442a

Please sign in to comment.