Docs: Correct the type and description of $post parameter passed to the attachment_fields_to_save filter.

Props swissspidy.
Fixes #34404.

git-svn-id: https://develop.svn.wordpress.org/trunk@35374 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov
2015-10-23 13:00:11 +00:00
parent bcb1e8eda2
commit d842c03e02

View File

@@ -662,8 +662,8 @@ function media_upload_form_handler() {
*
* @see wp_get_attachment_metadata()
*
* @param WP_Post $post The WP_Post object.
* @param array $attachment An array of attachment metadata.
* @param array $post An array of post data.
* @param array $attachment An array of attachment metadata.
*/
$post = apply_filters( 'attachment_fields_to_save', $post, $attachment );