[wp-trac] [WordPress Trac] #63598: Post locking takeover dialogue shows when running `show_post_locked_dialog` filter returns false
WordPress Trac
noreply at wordpress.org
Thu Jun 19 10:20:53 UTC 2025
#63598: Post locking takeover dialogue shows when running `show_post_locked_dialog`
filter returns false
-------------------------------+-----------------------------
Reporter: paulkevan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords:
Focuses: ui |
-------------------------------+-----------------------------
Follow-up to #24830.
When you attempt to avoid the post locking dialogue via
`show_post_locked_dialog` filter, you are initially allowed to view the
post without the lock dialogue appearing, but after an autosave and the
post lock is checked you are presented with the post takeover dialogue.
The first user into a post isn't presented with this, but a second user
attempting to also edit will receive this.
When it was resolved in #24830, this was prior to the REST API being
present, so unsure if it's related to the autosave REST API request and/or
the post lock check, but the behaviour is unexpected. Hoping that someone
with better knowledge of these working can help figure this out.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63598>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list