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

WordPress Trac noreply at wordpress.org
Mon Nov 8 14:24:16 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:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by jorgefilipecosta):

 In [changeset:"52041" 52041]:
 {{{
 #!CommitTicketReference repository="" revision="52041"
 Add: wp_global_styles custom post type.

 This commit adds the wp_global_styles custom post type following the same
 approach used to add other core custom post types. It also updates the
 wp_theme taxonomy to include the wp_global_styles post type.
 The post type is registered in the same way it is on the plugin we just
 adapt the location for the core.

 See #54336.
 Props oandregal.
 }}}

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


More information about the wp-trac mailing list