From 4e590c32fd59886cdf2414abdc0c0df88bb3824c Mon Sep 17 00:00:00 2001 From: mikelittle Date: Mon, 23 Jun 2003 22:05:32 +0000 Subject: [PATCH] Fix for draft mode posts with now title git-svn-id: http://svn.automattic.com/wordpress/trunk@243 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/b2edit.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/b2edit.php b/wp-admin/b2edit.php index 103f310949..4ececafa01 100644 --- a/wp-admin/b2edit.php +++ b/wp-admin/b2edit.php @@ -380,6 +380,7 @@ switch($action) { foreach ($drafts as $draft) { if (0 != $i) echo ', '; $draft->post_title = stripslashes($draft->post_title); + if ($draft->post_title == '') $draft->post_title = 'post-'.$draft->ID; echo "$draft->post_title"; ++$i; }