Check admin referer.

git-svn-id: http://svn.automattic.com/wordpress/trunk@3615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-03-05 22:45:44 +00:00
parent 2714ef2df9
commit c3170f0c6b
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ break;
case 'update':
check_admin_referer();
$errors = array();
if (!current_user_can('edit_users'))