[wp-trac] [WordPress Trac] #58462: Ignore unregistered style variations declared via `theme.json`

WordPress Trac noreply at wordpress.org
Wed Jun 14 07:41:04 UTC 2023


#58462: Ignore unregistered style variations declared via `theme.json`
--------------------------------------+------------------------
 Reporter:  oandregal                 |       Owner:  oandregal
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  6.3
Component:  General                   |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------
Changes (by oandregal):

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


Comment:

 In [changeset:"55912" 55912]:
 {{{
 #!CommitTicketReference repository="" revision="55912"
 Ignore unregistered block style variations from `theme.json`.

 This PR makes sure unregistered block style variations declared via
 `theme.json` are ignored. It fixes an issue by style variations don't work
 in the editor and CSS rules without a selector are output to the front-
 end.

 Props isabel_brison.
 Fixes #58462.
 }}}

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


More information about the wp-trac mailing list