diff --git a/includes/block-migrate/loader.php b/includes/block-migrate/loader.php index d783bce4e97..c5de2a985d2 100644 --- a/includes/block-migrate/loader.php +++ b/includes/block-migrate/loader.php @@ -26,7 +26,7 @@ */ add_action( 'the_post', - function( WP_Post &$post ) { + function( WP_Post $post ) { if ( ! function_exists( 'is_admin' ) || ! function_exists( 'get_current_screen' ) || is_null( get_current_screen() ) ) { return; }