[wp-trac] [WordPress Trac] #57559: Adds shadow presets support in theme.json

WordPress Trac noreply at wordpress.org
Wed Feb 1 18:05:58 UTC 2023


#57559: Adds shadow presets support in theme.json
-------------------------------------------------+-------------------------
 Reporter:  Mamaduka                             |       Owner:
                                                 |  hellofromTonya
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.2
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests commit                                   |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"55176" 55176]:
 {{{
 #!CommitTicketReference repository="" revision="55176"
 Themes: Add shadow presets support for theme.json.

 Adds shadow presets support for `theme.json` within the `WP_Theme_JSON` by

 * Adding it to presets metadata and valid settings.
 * Defining the default shadow presets in Core's `theme.json`.

 Includes PHPUnit tests.

 References:
 * [https://github.com/WordPress/gutenberg/pull/46813 Gutenberg PR 46813]
 * [https://github.com/WordPress/gutenberg/pull/47272 Gutenberg PR 47272]

 Follow-up to [54162], [52049], [50973].

 Props madhudollu, mamaduka, oandregal, scruffian, hellofromTonya.
 Fixes #57559.
 }}}

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


More information about the wp-trac mailing list