mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00: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. git-svn-id: https://develop.svn.wordpress.org/trunk@50051 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user