[wp-trac] [WordPress Trac] #54336: Add Global Styles REST API endpoints from Gutenberg plugin into Core

WordPress Trac noreply at wordpress.org
Tue Nov 2 06:29:37 UTC 2021


#54336: Add Global Styles REST API endpoints from Gutenberg plugin into Core
----------------------------+---------------------
 Reporter:  noisysocks      |       Owner:  (none)
     Type:  task (blessed)  |      Status:  new
 Priority:  normal          |   Milestone:  5.9
Component:  REST API        |     Version:
 Severity:  normal          |  Resolution:
 Keywords:                  |     Focuses:
----------------------------+---------------------
Description changed by noisysocks:

Old description:

> - Add `wp/v2/global-styles` endpoint.
> - Update existing global style endpoints in Core with changes that are in
> the plugin.
> - Update `WP_Theme_JSON` with changes that are in the plugin.
>
> https://github.com/WordPress/gutenberg/blob/trunk/lib/compat/wordpress-5.9
> /class-gutenberg-rest-global-styles-controller.php

New description:

 - Add `wp/v2/global-styles` endpoint.
 - Update existing global style endpoints in Core with changes that are in
 the plugin.
 - Update `WP_Theme_JSON`, `WP_Theme_JSON_Resolver`, etc. with changes that
 are in the plugin.

 https://github.com/WordPress/gutenberg/blob/trunk/lib/compat/wordpress-5.9
 /class-gutenberg-rest-global-styles-controller.php

--

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/54336#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list