Make WordPress Core


Ignore:
Timestamp:
02/08/2024 07:36:36 AM (12 months ago)
Author:
youknowriad
Message:

Editor: Register the Google Font collection.

By default, users will see a tab in the editor indicating the possibility
to active Google Fonts and install Fonts from there.

Props youknowriad, get_dave, mcsf.
Fixes #59166.

File:
1 edited

Legend:

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

    r57539 r57558  
    751751add_action( 'deleted_post', '_wp_after_delete_font_family', 10, 2 );
    752752add_action( 'before_delete_post', '_wp_before_delete_font_face', 10, 2 );
     753add_action( 'init', '_wp_register_default_font_collections' );
    753754
    754755unset( $filter, $action );
Note: See TracChangeset for help on using the changeset viewer.