WordPress.org

Make WordPress Core

Opened 4 months ago

Last modified 4 months ago

#47518 new enhancement

Add an explanatory message to the Revisions screen for locked posts

Reported by: johnbillion Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Revisions Keywords: needs-patch
Focuses: ui, javascript, administration Cc:
PR Number:

Description

It's possible for a user to navigate to the revisions screen for a post that's locked due to another user editing it, and not be able to restore any revisions due to the fact that the post is locked. In this situation no message is shown on the Revisions screen that explains why the Restore This Revision button is disabled.

Under normal operating procedure it's not easy to get to the Revisions screen for a locked post, but it is possible. A workflow related plugin, audit trail, or revisions list can make it possible to navigate directly to a revision without going via the otherwise locked editing screen.

  1. User A navigates to the revisions screen for a non-locked post.
  2. User B visits the editing screen for the post.
  3. User A clicks Return to editor on the revisions screen.
  4. User A chooses not to take over, and clicks Go back.

User A is now shown the revisions screen for a locked post and the Restore This Revision button is disabled for all revisions but with no explanatory information.

Change History (1)

#1 @SergeyBiryukov
4 months ago

  • Focuses ui added
Note: See TracTickets for help on using tickets.