[wp-trac] [WordPress Trac] #15130: Lock is not set to correct user until there is a save

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 10 20:06:52 UTC 2010


#15130: Lock is not set to correct user until there is a save
--------------------------+-------------------------------------------------
 Reporter:  lancehudson   |       Owner:           
     Type:  defect (bug)  |      Status:  new      
 Priority:  normal        |   Milestone:  3.1      
Component:  Editor        |     Version:  3.0      
 Severity:  normal        |    Keywords:  has-patch
--------------------------+-------------------------------------------------
Changes (by duck_):

  * keywords:  needs-patch => has-patch


Comment:

 Replying to [comment:18 mdawaffe]:
 > With that patch, I don't get a warning when visiting a post without a
 lock (which is good).  Why do you say I will?

 The first patch would have, take two works for no lock (checks for false
 before exploding) but still not properly for the old style locks.

 15130.add-id-to-lock.3.diff attached. Does isset check after explode
 instead of just list (stops a notice), grabs _edit_last meta if missing
 the user id in _edit_lock.

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


More information about the wp-trac mailing list