Pass the post ID to the admin_post_thumbnail_html filter. props helenyhou. fixes #20891

git-svn-id: https://develop.svn.wordpress.org/trunk@21173 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2012-06-28 20:41:04 +00:00
parent 309ae4c917
commit abc6fd3848

View File

@ -1164,7 +1164,7 @@ function _wp_post_thumbnail_html( $thumbnail_id = null, $post_id = null ) {
$content_width = $old_content_width;
}
return apply_filters( 'admin_post_thumbnail_html', $content );
return apply_filters( 'admin_post_thumbnail_html', $content, $post_id );
}
/**