[wp-trac] [WordPress Trac] #57824: Global styles values are not reset in site editor under certain scenarios

WordPress Trac noreply at wordpress.org
Tue Feb 28 17:05:22 UTC 2023


#57824: Global styles values are not reset in site editor under certain scenarios
--------------------------+-----------------------------
 Reporter:  oandregal     |      Owner:  oandregal
     Type:  defect (bug)  |     Status:  assigned
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Take the following steps:

 - Using TwentyTwentyTwo and any WordPress version after
 [https://github.com/WordPress/wordpress-develop/pull/3441 rev54517], for
 example, WordPress 6.2 beta 3.
 - Go to the site editor.
 - Open the global styles sidebar and set the padding values to something
 else (222px, for example).
 - Save the changes and reload the editor.
 - Open the global styles sidebar and try resetting the padding values (for
 example, by using the "Reset to defaults" option displayed under the three
 dot menu of the global styles sidebar).

 The expected result is that the values would be reset. However, they are
 not.

 Note that if this is saved and then site editor reloaded, the proper data
 is shown.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57824>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list