mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-02-22 08:42:42 +00:00
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:
parent
309ae4c917
commit
abc6fd3848
@ -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
Block a user