diff --git a/wp-includes/post.php b/wp-includes/post.php index 932163190c..9c662aaa24 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -3578,10 +3578,10 @@ function wp_delete_post( $post_id = 0, $force_delete = false ) { * * @since 6.6.0 * - * @param int $postid Post ID. - * @param WP_Post $post Post object. + * @param int $post_id Post ID. + * @param WP_Post $post Post object. */ - do_action( "delete_post_{$post->post_type}", $postid, $post ); + do_action( "delete_post_{$post->post_type}", $post_id, $post ); /** * Fires immediately before a post is deleted from the database. @@ -3607,10 +3607,10 @@ function wp_delete_post( $post_id = 0, $force_delete = false ) { * * @since 6.6.0 * - * @param int $postid Post ID. - * @param WP_Post $post Post object. + * @param int $post_id Post ID. + * @param WP_Post $post Post object. */ - do_action( "deleted_post_{$post->post_type}", $postid, $post ); + do_action( "deleted_post_{$post->post_type}", $post_id, $post ); /** * Fires immediately after a post is deleted from the database. diff --git a/wp-includes/version.php b/wp-includes/version.php index 41f231c81c..27040bdc2b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-57857'; +$wp_version = '6.6-alpha-57858'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.