diff --git a/wp-includes/post.php b/wp-includes/post.php index b34d8e9e63..f04900aed3 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -6114,7 +6114,7 @@ function wp_delete_attachment_files( $post_id, $meta, $backup_sizes, $file ) { * * @since 2.1.0 * - * @param int $attachment_id Attachment post ID. Default 0. + * @param int $attachment_id Attachment post ID. Defaults to global $post. * @param bool $unfiltered Optional. If true, filters are not run. Default false. * @return array|false { * Attachment metadata. False on failure. diff --git a/wp-includes/version.php b/wp-includes/version.php index 3152682fc7..944a16fa07 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.7-alpha-50049'; +$wp_version = '5.7-alpha-50051'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.