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:
parent
81ca473281
commit
2f2d93d6ec
|
@ -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&post=$draft->ID' title='Edit this draft'>$draft->post_title</a>";
|
||||
++$i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue