Lock is not set to correct user until there is a save
|Reported by:||lancehudson||Owned by:|
When a user opens a post for editing the editor calls
wp_check_post_lock which returns false if it has been AUTOSAVE_INTERVAL * 2 since the lock was set and the user is not equal to _edit_last.
The problem is _edit_last is not the person who has the lock, until an autosave or save is triggered.
wp_set_post_lock needs to set the lock user to a new post meta (_edit_lock_user ?) and wp_check_post_lock needs to be changed to reference this variable.
_admin_notice_post_locked also needs to be updated to match.
Change History (26)
comment:1 lancehudson — 4 years ago
- Summary changed from Lock is not set to correct user until there is an autosave to Lock is not set to correct user until there is a save