mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
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:
parent
4615f5b809
commit
b43020e0ab
@ -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 );
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user