Pass some additional variables to post_image_html filter. props waltervos, scribu. fixes #11167

git-svn-id: http://svn.automattic.com/wordpress/trunk@12211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2009-11-18 22:09:00 +00:00
parent 4615f5b809
commit b43020e0ab

View File

@ -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 );
}
?>