From 1809b184049d7eacf26bc3ef68e0979a60ed7489 Mon Sep 17 00:00:00 2001 From: Peter Wilson Date: Wed, 23 Oct 2024 22:39:17 +0000 Subject: [PATCH] Editor: Update Google Fonts API endpoint for WordPress 6.7. Updates the Google Fonts API to use the URL `https://s.w.org/images/fonts/wp-6.7/collections/google-fonts-with-preview.json` with an updated collection of fonts available for install. Props dilip2615, mmaattiiaass, wildworks, dd32. Fixes #62258. Built from https://develop.svn.wordpress.org/trunk@59286 git-svn-id: http://core.svn.wordpress.org/trunk@58678 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/fonts.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/fonts.php b/wp-includes/fonts.php index 17db039608..88495fc44a 100644 --- a/wp-includes/fonts.php +++ b/wp-includes/fonts.php @@ -265,7 +265,7 @@ function _wp_register_default_font_collections() { array( 'name' => _x( 'Google Fonts', 'font collection name' ), 'description' => __( 'Install from Google Fonts. Fonts are copied to and served from your site.' ), - 'font_families' => 'https://s.w.org/images/fonts/wp-6.5/collections/google-fonts-with-preview.json', + 'font_families' => 'https://s.w.org/images/fonts/wp-6.7/collections/google-fonts-with-preview.json', 'categories' => array( array( 'name' => _x( 'Sans Serif', 'font category' ), diff --git a/wp-includes/version.php b/wp-includes/version.php index b8b3e48beb..3b65ea30bb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-alpha-59285'; +$wp_version = '6.8-alpha-59286'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.