diff --git a/src/wp-admin/includes/meta-boxes.php b/src/wp-admin/includes/meta-boxes.php index 84aeb734b1..670e02b5b3 100644 --- a/src/wp-admin/includes/meta-boxes.php +++ b/src/wp-admin/includes/meta-boxes.php @@ -785,9 +785,10 @@ function page_attributes_meta_box($post) { * * @since 4.4.0 * - * @param string $template The template used for the current post. + * @param string $template The template used for the current post. + * @param WP_Post $post The current post. */ - do_action( 'page_attributes_meta_box_template', $template ); + do_action( 'page_attributes_meta_box_template', $template, $post ); ?>