Make WordPress Core

Opened 7 months ago

Closed 6 months ago

#59533 closed defect (bug) (reported-upstream)

The wrong preview/state is shown when resetting revisions back to defaults

Reported by: sannevndrmeulen's profile sannevndrmeulen Owned by:
Milestone: Priority: normal
Severity: minor Version: 6.3.1
Component: Revisions Keywords:
Focuses: Cc:


Testing Instructions

I found this while testing Global Styles Revisions for 6.4, but was able to reproduce it in 6.3.1.

Steps to Reproduce

  1. Navigate to Appearance -> Editor
  2. Select a different style under Styles and Save (this creates a revision)
  3. Open the revisions panel
  4. Click on the Revisions symbol (a clock) and select Reset to defaults
  5. The wrong preview/state is shown

Supplemental Artifacts


Change History (2)

This ticket was mentioned in Slack in #core-test by hardikgohil. View the logs.

7 months ago

#2 @ramonopoly
6 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Hello! Thanks for creating this ticket.

I've tested and I think I can reproduce: the "unsaved changes" item at the top isn't updating when resetting the styles.

I think this should rather be an issue in the Gutenberg GitHub repository.

I've created an issue here:

I'll resolve this ticket as "Reported upstream".

Note: See TracTickets for help on using tickets.