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

see #24291

git-svn-id: http://core.svn.wordpress.org/trunk@24242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Mark Jaquith 2013-05-10 23:22:51 +00:00
parent 74c6071b9d
commit 0a67245cfd
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' ); $_format = get_the_terms( $post->ID, 'post_format' );
if ( empty( $_format ) ) if ( empty( $_format ) )
return ''; return false;
$format = array_shift( $_format ); $format = array_shift( $_format );