diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 0ad9bcdaf0..d204f09e05 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -1738,10 +1738,12 @@ function _admin_notice_post_locked() { * Fires inside the post locked dialog before the buttons are displayed. * * @since 3.6.0 + * @since 5.4.0 The $user parameter was added. * * @param WP_Post $post Post object. + * @param WP_User $user The user with the lock for the post. */ - do_action( 'post_locked_dialog', $post ); + do_action( 'post_locked_dialog', $post, $user ); ?>

diff --git a/wp-includes/version.php b/wp-includes/version.php index 109c499ed7..9ef20cc274 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47205'; +$wp_version = '5.4-alpha-47206'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.