mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 07:22:01 +01:00
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)
|
||||
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