[wp-trac] [WordPress Trac] #47518: Add an explanatory message to the Revisions screen for locked posts

WordPress Trac noreply at wordpress.org
Mon Jun 10 15:30:43 UTC 2019


#47518: Add an explanatory message to the Revisions screen for locked posts
----------------------------------------+-----------------------------
 Reporter:  johnbillion                 |      Owner:  (none)
     Type:  enhancement                 |     Status:  new
 Priority:  normal                      |  Milestone:  Awaiting Review
Component:  Revisions                   |    Version:
 Severity:  normal                      |   Keywords:  needs-patch
  Focuses:  javascript, administration  |
----------------------------------------+-----------------------------
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/47518>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list