mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
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:
parent
38b205e5dc
commit
2ca69453bd
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user