[wp-trac] [WordPress Trac] #62471: Fix malformed variation selector in theme.json when block uses non-trival CSS selector

WordPress Trac noreply at wordpress.org
Wed Feb 12 03:38:25 UTC 2025


#62471: Fix malformed variation selector in theme.json when block uses non-trival
CSS selector
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:  joemcgill
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge, has-patch, has-     |     Focuses:
  unit-tests, has-testing-info, commit           |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

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


Comment:

 In [changeset:"59814" 59814]:
 {{{
 #!CommitTicketReference repository="" revision="59814"
 Editor: Fix complex variation selectors when using selectors API.

 Fixes a bug in the manipulation of selectors for block style variations
 that would result in an incorrect selector and fail to match the
 appropriate elements on the frontend.

 Props aaronrobertshaw, ramonopoly, joemcgill.
 Fixes #62471.
 }}}

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


More information about the wp-trac mailing list