Jelajahi Sumber

Add docs hyperlink to deprecation notice

Jeremy Yip 3 tahun lalu
induk
melakukan
37183e9d0c
1 mengubah file dengan 5 tambahan dan 2 penghapusan
  1. 5 2
      blockbase/inc/customizer/wp-customize-fonts.php

+ 5 - 2
blockbase/inc/customizer/wp-customize-fonts.php

@@ -136,8 +136,11 @@ class GlobalStylesFontsCustomizer {
 		if ( ! defined( 'GUTENBERG_VERSION' ) || version_compare( GUTENBERG_VERSION, '13.2', '<=' ) ) {
 			return __( 'Please activate or update Gutenberg to use the custom fonts feature.', 'blockbase' );
 		}
-
-		return __( 'Updating fonts for this theme is now even easier! Use the site editor to select and preview different font families.', 'blockbase' );
+		
+		return sprintf(
+			__( 'Updating fonts for this theme is now even easier! Use the site editor to select and preview different font families. <a href="%s">More information.</a>', 'blockbase' ),
+			__('https://wordpress.com/support/custom-fonts/')
+		);
 	}
 
 	function init_deprecation_notice( $wp_customize ) {