Make WordPress Core

Changeset 59286


Ignore:
Timestamp:
10/23/2024 10:37:35 PM (23 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.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/fonts.php

    r59260 r59286  
    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.