[wp-trac] [WordPress Trac] #61589: Fix: Block style variations containing ref values

WordPress Trac noreply at wordpress.org
Tue Jul 9 16:06:35 UTC 2024


#61589: Fix: Block style variations containing ref values
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:  ellatrix
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Editor                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge has-patch has-unit-  |     Focuses:
  tests dev-reviewed                             |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):

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


Comment:

 In [changeset:"58699" 58699]:
 {{{
 #!CommitTicketReference repository="" revision="58699"
 Editor: Fix ref values within block style variations.

 Fixes an issue where block style variations that use `ref` values to
 reference styles elsewhere in theme.json weren't working.

 Retrieves reference values when generating styles for block style
 variations. How? When retrieving variation data, to generate styles from,
 also retrieve any referenced values.

 Reviewed by audrasjb.
 Merges [58691] to the 6.6 branch.

 Props aaronrobertshaw, andrewserong, ramonopoly.
 Fixes #61589.
 }}}

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


More information about the wp-trac mailing list