Ability to customize full post locked message
|Reported by:||joepterry||Owned by:||nacin|
Currently, plugins have the ability to restrict the user from overriding the post lock.
Unfortunately, even if the user is restricted from overriding, the end of the message still reads "If you take over, [user] will be blocked from continuing to edit."
Ideally, this message would observe the value of $override, which the plugin may or may not have modified with the override_post_lock filter - and not display the last sentence of the prompt if $override === false.
As an alternative, the post_locked_dialog hook could allow the plugin to modify the entire message, not just append to it.
Change History (7)
- Milestone changed from Awaiting Review to 3.6.1
- Type changed from enhancement to defect (bug)