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:
parent
b28de3ea1b
commit
55278fa7a4
|
@ -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 );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue