Confirmation on user delete

git-svn-id: http://svn.automattic.com/wordpress/trunk@2257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2005-02-11 01:43:13 +00:00
parent 496b443095
commit 74458cebc9
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ echo "\n<tr $style>
echo "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>".__('Edit')."</a>";
echo '</td><td>';
if ($user_level >= 6)
echo "<a href='users.php?action=delete&amp;id=$user_data->ID' class='delete'>" . __('Delete'). '</a>';
echo "<a href='users.php?action=delete&amp;id=$user_data->ID' class='delete' onclick='return confirm(\"" . __('You are about to delete this user \n OK to delete, Cancel to stop.') . "\")'>" . __('Delete'). '</a>';
echo '</td></tr>';
}