diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 8429b57935..ed477273ab 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -51,6 +51,16 @@ if ( 'publish' == $post->post_status ) { +
@@ -207,8 +217,11 @@ if ( $can_publish ) : // Contributors don't get to choose the date of publish ?> * Fires after the post time/date setting in the Publish meta box. * * @since 2.9.0 + * @since 4.4.0 Added the `$post` parameter. + * + * @param WP_Post $post WP_Post object for the current post. */ -do_action( 'post_submitbox_misc_actions' ); +do_action( 'post_submitbox_misc_actions', $post ); ?>