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
This commit is contained in:
Mark Jaquith 2009-11-18 22:09:00 +00:00
parent 363c885bd4
commit c7759fd081
1 changed files with 1 additions and 1 deletions

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