Add attachment ID to the wp_generate_attachment_metadata filter, props taco1991, fixes #10494

git-svn-id: https://develop.svn.wordpress.org/trunk@11747 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz 2009-07-27 23:08:21 +00:00
parent eb4b483e8b
commit b310ef4a08
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) {
} }
return apply_filters( 'wp_generate_attachment_metadata', $metadata ); return apply_filters( 'wp_generate_attachment_metadata', $metadata, $attachment_id );
} }
/** /**