[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 18:53:41 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 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.

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


More information about the wp-trac mailing list