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.

Reviewed by swissspidy.
Merges [59286] to the 6.7 branch.

Props dilip2615, mmaattiiaass, wildworks, dd32.
Fixes #62258.



Built from https://develop.svn.wordpress.org/branches/6.7@59295


git-svn-id: http://core.svn.wordpress.org/branches/6.7@58687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Peter Wilson 2024-10-27 21:57:10 +00:00
parent 48030e4dbf
commit 0c4d743c9b
2 changed files with 2 additions and 2 deletions

View File

@ -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' ),

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.7-RC1-59294';
$wp_version = '6.7-RC1-59295';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.