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:
parent
5cd3b7c3ab
commit
010908b234
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user