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:
parent
74c6071b9d
commit
0a67245cfd
|
@ -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 );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue