From abc6fd3848a9d70a7a71740fdbf5cfba29aae206 Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Thu, 28 Jun 2012 20:41:04 +0000 Subject: [PATCH] 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 --- wp-admin/includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/includes/post.php b/wp-admin/includes/post.php index 3bfea5741f..a8674e0ee7 100644 --- a/wp-admin/includes/post.php +++ b/wp-admin/includes/post.php @@ -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 ); } /**