[wp-trac] [WordPress Trac] #24930: Ability to customize full post locked message
WordPress Trac
noreply at wordpress.org
Fri Aug 2 17:46:04 UTC 2013
#24930: Ability to customize full post locked message
-------------------------+-----------------------------
Reporter: joepterry | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Revisions | Version: 3.6
Severity: minor | Keywords:
-------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24930>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list