Permalink
Browse files

Replace call to get_the_post_format_image() with get_the_post_thumbna…

…il().
  • Loading branch information...
1 parent 8ebeaf1 commit 8df3fb6ba38b02d8fd05aa6d021ccbe3a971b1cb @justintadlock committed Aug 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 functions/post-formats.php
View
2 functions/post-formats.php
@@ -257,7 +257,7 @@ function hybrid_image_content( $content ) {
$content = get_the_image( array( 'meta_key' => false, 'size' => 'large', 'link_to_post' => false, 'echo' => false ) ) . $content;
elseif ( empty( $matches ) )
- $content = get_the_post_format_image() . $content;
+ $content = get_the_post_thumbnail( get_the_ID(), 'large' ) . $content;
}
return $content;

0 comments on commit 8df3fb6

Please sign in to comment.