From c7759fd081574ffb51c4670d04f8548b76a8ea0d Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 18 Nov 2009 22:09:00 +0000 Subject: [PATCH] Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167 git-svn-id: https://develop.svn.wordpress.org/trunk@12211 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-image-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-image-template.php b/wp-includes/post-image-template.php index 10bec133f6..6ae6037ac8 100644 --- a/wp-includes/post-image-template.php +++ b/wp-includes/post-image-template.php @@ -37,7 +37,7 @@ function get_the_post_image( $post_id = NULL, $size = 'thumbnail', $attr = '' ) } else { $html = ''; } - return apply_filters( 'post_image_html', $html, $post_id, $post_image_id ); + return apply_filters( 'post_image_html', $html, $post_id, $post_image_id, $size, $attr ); } ?> \ No newline at end of file