Przeglądaj źródła

Replace experimental-link-color with link-color (#7221)

Sarah Norris 2 lat temu
rodzic
commit
da3442a201

+ 2 - 2
blockbase/functions.php

@@ -10,8 +10,8 @@ if ( ! function_exists( '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

+ 3 - 3
hever/functions.php

@@ -70,8 +70,8 @@ if ( ! function_exists( '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 );
@@ -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 );

+ 3 - 3
morden/functions.php

@@ -69,8 +69,8 @@ if ( ! function_exists( '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 );
@@ -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 );

+ 3 - 3
rockfield/functions.php

@@ -64,8 +64,8 @@ if ( ! function_exists( '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 );
@@ -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 );

+ 3 - 3
seedlet/functions.php

@@ -253,8 +253,8 @@ if ( ! function_exists( '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' );
@@ -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 );

+ 3 - 3
shawburn/functions.php

@@ -67,8 +67,8 @@ if ( ! function_exists( '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 );
@@ -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 );

+ 3 - 3
stow/functions.php

@@ -64,8 +64,8 @@ if ( ! function_exists( '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 );
@@ -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 );

+ 3 - 3
stratford/functions.php

@@ -67,8 +67,8 @@ if ( ! function_exists( '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 );
@@ -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 );