Fixed javascript popup for delete confirmation

git-svn-id: https://develop.svn.wordpress.org/trunk@364 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mike Little 2003-09-09 22:34:15 +00:00
parent 49d283ce51
commit 3a2ec40b19

View File

@ -241,7 +241,7 @@ if ($i == "ASC")
if ($m)
echo "&m=$m";
echo "'>Edit</a>";
echo " - <a href='b2edit.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".$row->post_title."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
echo " - <a href='b2edit.php?action=delete&amp;post=$id' onclick=\"return confirm('You are about to delete this post \'".the_title('','',0)."\'\\n \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
}
if ('private' == $post->post_status) echo ' - <strong>Private</strong>';
?>