From f8c681b9efc02635baa788a7ca88d69d0bb2ff66 Mon Sep 17 00:00:00 2001 From: ryan Date: Sat, 2 Sep 2006 20:19:07 +0000 Subject: [PATCH] Check excerpt when determing if a post is empty. #3097 git-svn-id: http://svn.automattic.com/wordpress/trunk@4159 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post.php b/wp-includes/post.php index ebb1799ee2..cb5f5db1c2 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -507,7 +507,7 @@ function wp_insert_post($postarr = array()) { $ping_status = apply_filters('ping_status_pre', $ping_status); } - if ( ('' == $post_content) && ('' == $post_title) ) + if ( ('' == $post_content) && ('' == $post_title) && ('' == $post_excerpt) ) return 0; // Make sure we set a valid category