Revert change to get_post_format() introduced in [24226].

see #24291

git-svn-id: https://develop.svn.wordpress.org/trunk@24242 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2013-05-10 23:22:51 +00:00
parent 5cd3b7c3ab
commit 010908b234
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ function get_post_format( $post = null ) {
$_format = get_the_terms( $post->ID, 'post_format' );
if ( empty( $_format ) )
return '';
return false;
$format = array_shift( $_format );