Docs: Revert documentation change for `wp_get_attachment_metadata()`.

This more accurately describes the behavior of the function, and is more consistent with the documentation for other post and attachment functions.

Follow-up to [50039].

Props Mista-Flo.
See #52196.
Built from https://develop.svn.wordpress.org/trunk@50051


git-svn-id: http://core.svn.wordpress.org/trunk@49752 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2021-01-28 10:42:01 +00:00
parent 38b205e5dc
commit 2ca69453bd
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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.