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

git-svn-id: http://core.svn.wordpress.org/trunk@21173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2012-06-28 20:41:04 +00:00
parent b28de3ea1b
commit 55278fa7a4
1 changed files with 1 additions and 1 deletions

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 );
}
/**