-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] RegressionRelated to a regression in the latest releaseRelated to a regression in the latest release
Description
Description
In trunk
, within global styles, the Reset to defaults
action appears not to be working. From running a git bisect
, it appears that the change that introduced the regression was #44770 (the PR that introduced the new browse mode).
Kudos @tellthemachines for flagging the issue!
Step-by-step reproduction instructions
On trunk
, open up global styles in a site that has user styles, and attempt to reset the global styles back to the theme defaults. As of #44770, it appears that the drop-down control to reset to defaults no longer works.
For a commit that still works (e.g. prior to #44770) you can checkout 51f0b77, or really any prior to #44770.
Screenshots, screen recording, code snippet
trunk |
when it was working previously |
---|---|
Environment info
- WP 6.1.1
- Gutenberg
trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
ramonjd
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] RegressionRelated to a regression in the latest releaseRelated to a regression in the latest release