[wp-trac] [WordPress Trac] #24830: No notifications should be shown when filter 'show_post_locked_dialog' returns false
WordPress Trac
noreply at wordpress.org
Wed Jul 24 22:25:25 UTC 2013
#24830: No notifications should be shown when filter 'show_post_locked_dialog'
returns false
--------------------------+-----------------------------
Reporter: DH-Shredder | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Autosave | Version: trunk
Severity: normal | Keywords:
--------------------------+-----------------------------
At the moment, when the filter 'show_post_locked_dialog' returns false,
the initial post lock dialog is silenced, but not the 'taken over' dialog,
essentially leaving in the 'user is booted' behavior.
We should change this so that instead when the filter is set, post locking
functions more similarly to 3.5, by stopping the heartbeat lock/kickout
and notice.
Steps to Reproduce:
- 'show_post_locked_dialog' filter set to return false in a plugin
- User1 Opens Post for Editing
- User2 Opens Post for Editing, and does not see a "post is locked" notice
- After Heartbeat, User1 sees a post is locked notice
Expected Behavior:
No notices are be shown when 'show_post_locked_dialog' returns false.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24830>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list