close
Skip to content

Auto-save alert links to old revision screen #75868

@bph

Description

@bph

Description

When a user returns to a post and the editor discovers that there is a more recent auto-save version than the version the user is on, the block editor displayes a warning on top of the screen with the link
"View the autosave". The URL points to the old screens at /wp-admin/revision.php?revision=xxxx

Image

Step-by-step reproduction instructions

  • Open a post in browser window.
  • Make changes to the post.
  • Don't save.
  • Open a different browser
  • open the same post in the block editor.
  • That should display a the warning as in the screenshot above.

Screenshots, screen recording, code snippet

OldRevisions-link.mp4

I expected to see the new revisions screen, that can be accessed from the block editor side bar.

Image

Environment info

  • WordPress 6.9.1 running
  • Gutenberg Nightly 22.8.20260224
  • Firefox Developer 148.0b15

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] HistoryHistory, undo, redo, revisions, autosave.[Type] BugAn existing feature does not function as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions