Make WordPress Core

Opened 3 years ago

Closed 3 years ago

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

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

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

Description

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

  1. ​https://imgur.com/meVgdoS
  2. ​https://imgur.com/WJfk42Q
  3. ​https://imgur.com/BI4tENG
  4. ​https://imgur.com/w8rGkog

Change History (2)

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


3 years ago

#2 @ramonopoly
3 years ago

  • Milestone Awaiting Review
  • Resolution → reported-upstream
  • Status new → 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: ​https://github.com/WordPress/gutenberg/issues/55866

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

Note: See TracTickets for help on using tickets.