[wp-trac] [WordPress Trac] #24829: Don't allow users to restore a revision if the post is locked
WordPress Trac
noreply at wordpress.org
Fri Jul 26 14:53:55 UTC 2013
#24829: Don't allow users to restore a revision if the post is locked
---------------------------+--------------------
Reporter: aaroncampbell | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: General | Version: trunk
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+--------------------
Comment (by aaroncampbell):
Replying to [comment:1 adamsilverstein]:
> seems like users should be kicked out the revisions screen if another
user takes over the post lock.
Honestly, I'd rather that they be allowed into the revisions screen and
even be able to browse revisions, but not be allowed to restore (remove
the UI for it, or replace it with a short "post is locked" message).
Also, when a lock is taken from someone and they are kicked out, the last
thing that happens is an autosave that we do for them before we kick them.
I'm wondering if it might be a good idea to have a button on the lock
taken dialog that offers to send them to their latest autosave in
revisions? Thoughts? Here's the dialog:
[[Image(http://f.cl.ly/items/0A1r1A0g2P3j2R042V3y/wp-lock-taken.png)]]
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24829#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list