Make WordPress Core

Changeset 59295


Ignore:
Timestamp:
10/27/2024 09:55:25 PM (3 months ago)
Author:
peterwilsoncc
Message:

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.

Location:
branches/6.7
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.7

  • branches/6.7/src/wp-includes/fonts.php

    r59260 r59295  
    266266            'name'          => _x( 'Google Fonts', 'font collection name' ),
    267267            'description'   => __( 'Install from Google Fonts. Fonts are copied to and served from your site.' ),
    268             'font_families' => 'https://s.w.org/images/fonts/wp-6.5/collections/google-fonts-with-preview.json',
     268            'font_families' => 'https://s.w.org/images/fonts/wp-6.7/collections/google-fonts-with-preview.json',
    269269            'categories'    => array(
    270270                array(
Note: See TracChangeset for help on using the changeset viewer.