From 1601b92164d2ff354827f51f0473b5e430c90155 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Jan 2017 12:36:28 +0000 Subject: [PATCH] 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 --- src/wp-admin/includes/post.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-admin/includes/post.php b/src/wp-admin/includes/post.php index eca583a2ec..1054f2b2e0 100644 --- a/src/wp-admin/includes/post.php +++ b/src/wp-admin/includes/post.php @@ -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 ) )