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:
parent
49d283ce51
commit
3a2ec40b19
@ -241,7 +241,7 @@ if ($i == "ASC")
|
||||
if ($m)
|
||||
echo "&m=$m";
|
||||
echo "'>Edit</a>";
|
||||
echo " - <a href='b2edit.php?action=delete&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&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>';
|
||||
?>
|
||||
|
Loading…
Reference in New Issue
Block a user