Make WordPress Core


Ignore:
Timestamp:
11/08/2021 08:58:56 PM (3 years ago)
Author:
jorgefilipecosta
Message:

Add: Global Styles Rest endpoints.

This commit ports the global styles rest endpoints from the Gutenberg plugin into the core.

See #54336.
Props oandregal, aristath, timothyblynjacobs, spacedmonkey, youknowriad.

File:
1 edited

Legend:

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

    r52049 r52051  
    255255require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-posts-controller.php';
    256256require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-attachments-controller.php';
     257require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-global-styles-controller.php';
    257258require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-types-controller.php';
    258259require ABSPATH . WPINC . '/rest-api/endpoints/class-wp-rest-post-statuses-controller.php';
Note: See TracChangeset for help on using the changeset viewer.