Confirmation on user delete
git-svn-id: http://svn.automattic.com/wordpress/trunk@2257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
496b443095
commit
74458cebc9
|
@ -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&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>';
|
echo '</td></tr>';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue