Fix for draft mode posts with now title

git-svn-id: https://develop.svn.wordpress.org/trunk@243 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-06-23 22:05:32 +00:00
parent 81ca473281
commit 2f2d93d6ec
1 changed files with 1 additions and 0 deletions

View File

@ -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 "<a href='b2edit.php?action=edit&amp;post=$draft->ID' title='Edit this draft'>$draft->post_title</a>";
++$i;
}