[wp-trac] [WordPress Trac] #62372: Fix theme.json removal of insecure properties for block style variations

WordPress Trac noreply at wordpress.org
Mon Feb 10 22:28:13 UTC 2025


#62372: Fix theme.json removal of insecure properties for block style variations
-------------------------------------------------+-------------------------
 Reporter:  aaronrobertshaw                      |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.8
Component:  Editor                               |     Version:  6.7
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  gutenberg-merge, has-patch, has-     |     Focuses:
  unit-tests                                     |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * owner:  (none) => peterwilsoncc
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"59802" 59802]:
 {{{
 #!CommitTicketReference repository="" revision="59802"
 Global Styles: Improve sanitization of block variation styles.

 Fixes an issue where block style variations containing inner block type
 and element styles would have those inner styles stripped when the user
 attempting to save Global Styles does not have the `unfiltered_html`
 capability.

 Props aaronrobertshaw, mukesh27, andrewserong.
 Fixes #62372.
 }}}

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


More information about the wp-trac mailing list