Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace experimental-link-color theme supports with link-color #7221

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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