[wp-trac] [WordPress Trac] #24829: Don't allow users to restore a revision if the post is locked
WordPress Trac
noreply at wordpress.org
Sun Jul 28 21:19:11 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: 3.6
Severity: normal | Resolution:
Keywords: needs-patch |
---------------------------+------------------
Comment (by AaronCAmpbell):
Replying to [comment:6 adamsilverstein]:
> Replying to [comment:5 markjaquith]:
> > [attachment: 24829.diff] just puts the Backbone disabled rendering in
a PHP else so that we don't get double disabled=disabled happening in the
case of a current revision of a post that is also being edited by someone
else.
>
> tested & works as expected.
Assuming you tested .3.diff not just .diff?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24829#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list