diff --git src/wp-admin/includes/post.php src/wp-admin/includes/post.php
index f2d85e969d..1b51f32000 100644
|
|
|
function _admin_notice_post_locked() {
|
| 1736 | 1736 | * Fires inside the post locked dialog before the buttons are displayed. |
| 1737 | 1737 | * |
| 1738 | 1738 | * @since 3.6.0 |
| | 1739 | * @since x.x.x The $user parameter was added. |
| 1739 | 1740 | * |
| 1740 | 1741 | * @param WP_Post $post Post object. |
| | 1742 | * @param WP_User $user The user with the lock for the post. |
| 1741 | 1743 | */ |
| 1742 | | do_action( 'post_locked_dialog', $post ); |
| | 1744 | do_action( 'post_locked_dialog', $post, $user ); |
| 1743 | 1745 | ?> |
| 1744 | 1746 | <p> |
| 1745 | 1747 | <a class="button" href="<?php echo esc_url( $sendback ); ?>"><?php echo $sendback_text; ?></a> |