From e20f6e96fe9d92422a5ec296036ecdc62889586f Mon Sep 17 00:00:00 2001 From: Matias Benedetto Date: Mon, 25 Sep 2023 12:50:53 -0300 Subject: [PATCH] use the wporg cdn --- lib/experimental/fonts/font-library/font-library.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/experimental/fonts/font-library/font-library.php b/lib/experimental/fonts/font-library/font-library.php index c7c6e60ada879..3a04c0daf554d 100644 --- a/lib/experimental/fonts/font-library/font-library.php +++ b/lib/experimental/fonts/font-library/font-library.php @@ -62,7 +62,7 @@ function wp_register_font_collection( $config ) { 'id' => 'default-font-collection', 'name' => 'Google Fonts', 'description' => __( 'Add from Google Fonts. Fonts are copied to and served from your site.', 'gutenberg' ), - 'src' => 'https://raw.githubusercontent.com/WordPress/google-fonts-to-wordpress-collection/main/output/google-fonts-with-previews.json', + 'src' => 'https://s.w.org/images/fonts/16.7/collections/google-fonts-with-preview.json', ); wp_register_font_collection( $default_font_collection );