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

git-svn-id: http://svn.automattic.com/wordpress/trunk@11747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz 2009-07-27 23:08:21 +00:00
parent 06370d4f9e
commit febbb3bbda
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 );
}
/**