From 010908b2341bf50aefc88acb51bec5d143d0dd4e Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Fri, 10 May 2013 23:22:51 +0000 Subject: [PATCH] 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 --- wp-includes/post-formats.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-formats.php b/wp-includes/post-formats.php index e5340e66e1..6f5797989a 100644 --- a/wp-includes/post-formats.php +++ b/wp-includes/post-formats.php @@ -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 );