mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Docs: Add missing @param tag for show_post_locked_dialog filter.
Props keesiemeijer. Fixes #39479. git-svn-id: https://develop.svn.wordpress.org/trunk@39710 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1516,6 +1516,7 @@ function _admin_notice_post_locked() {
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param bool $display Whether to display the dialog. Default true.
|
||||
* @param WP_Post $post Post object.
|
||||
* @param WP_User|bool $user WP_User object on success, false otherwise.
|
||||
*/
|
||||
if ( ! apply_filters( 'show_post_locked_dialog', true, $post, $user ) )
|
||||
|
||||
Reference in New Issue
Block a user