Make WordPress Core


Ignore:
Timestamp:
02/07/2024 09:18:38 AM (14 months ago)
Author:
youknowriad
Message:

REST API: Introduce the necessary endpoints for the font library.

This commits add three endpoints to retrieve and manipulate fonts in WordPress.
This commit also means that we now have a fully functional Font Library in the site editor.

Props get_dave, youknowriad, mmaattiiaass, grantmkin, swissspidy, mcsf, jorbin, ocean90.
See #59166.

File:
1 edited

Legend:

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

    r57545 r57548  
    311311require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-url-details-controller.php';
    312312require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-navigation-fallback-controller.php';
     313require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-font-families-controller.php';
     314require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-font-faces-controller.php';
     315require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-font-collections-controller.php';
    313316require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-meta-fields.php';
    314317require ABSPATH . WPINC . '/rest-api/fields/class-wp-rest-comment-meta-fields.php';
Note: See TracChangeset for help on using the changeset viewer.