[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:42:01 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 kebbet):
Replying to [comment:12 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.
> }}}
One string has incorrect text domain (for core there should be none).
And the description for the CPT is not translatable. Should use __().
--
Ticket URL: <https://core.trac.wordpress.org/ticket/54336#comment:13>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list