Skip to content

Commit

Permalink
Editor: Update Google Fonts API endpoint for WordPress 6.7.
Browse files Browse the repository at this point in the history
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.



git-svn-id: https://develop.svn.wordpress.org/trunk@59286 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
peterwilsoncc committed Oct 23, 2024
1 parent 6573ea6 commit c374a1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/fonts.php
Original file line number Diff line number Diff line change
Expand Up @@ -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' ),
Expand Down

0 comments on commit c374a1b

Please sign in to comment.