Fixed javascript popup for delete confirmation
git-svn-id: http://svn.automattic.com/wordpress/trunk@364 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2e2f6c2c58
commit
b0162755cf
|
@ -241,7 +241,7 @@ if ($i == "ASC")
|
||||||
if ($m)
|
if ($m)
|
||||||
echo "&m=$m";
|
echo "&m=$m";
|
||||||
echo "'>Edit</a>";
|
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>';
|
if ('private' == $post->post_status) echo ' - <strong>Private</strong>';
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in New Issue