[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 20:03:36 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 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.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/24829#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list