Make WordPress Core


Ignore:
Timestamp:
02/06/2024 08:40:38 AM (4 months ago)
Author:
youknowriad
Message:

Editor: Introduce the Font Library post types and low level APIs.

This is the first step towards adding the font library to WordPress.
This commit includes the font library and font face CPTs.
It also adds the necessary APIs and classes to register and manipulate font collections.

This PR backports the font library post types and low level APIs to Core. This is the first step to include the font library entirely into Core. Once this merged, we'll open a PR with the necessary REST API controllers.

Props youknowriad, get_dave, grantmkin, swissspidy, hellofromtonya, mukesh27, mcsf.
See #59166.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-settings.php

    r57526 r57539  
    375375require ABSPATH . WPINC . '/style-engine/class-wp-style-engine-processor.php';
    376376require ABSPATH . WPINC . '/fonts/class-wp-font-face-resolver.php';
     377require ABSPATH . WPINC . '/fonts/class-wp-font-collection.php';
    377378require ABSPATH . WPINC . '/fonts/class-wp-font-face.php';
     379require ABSPATH . WPINC . '/fonts/class-wp-font-library.php';
     380require ABSPATH . WPINC . '/fonts/class-wp-font-utils.php';
    378381require ABSPATH . WPINC . '/fonts.php';
    379382require ABSPATH . WPINC . '/class-wp-script-modules.php';
Note: See TracChangeset for help on using the changeset viewer.