From 0a67245cfdc228e6f146005ff889c7f7b3957634 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: http://core.svn.wordpress.org/trunk@24242 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 );