Confirmation on user delete

git-svn-id: https://develop.svn.wordpress.org/trunk@2257 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2005-02-11 01:43:13 +00:00
parent 9b55bd6c62
commit be4d5e36f2
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 "<a href='user-edit.php?user_id=$user_data->ID' class='edit'>".__('Edit')."</a>";
echo '</td><td>'; echo '</td><td>';
if ($user_level >= 6) 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>'; echo '</td></tr>';
} }