Confirmation on user delete
git-svn-id: https://develop.svn.wordpress.org/trunk@2257 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9b55bd6c62
commit
be4d5e36f2
@ -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&id=$user_data->ID' class='delete'>" . __('Delete'). '</a>';
|
||||
echo "<a href='users.php?action=delete&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>';
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user