mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-22 23:41:38 +01:00
Check admin referer.
git-svn-id: http://svn.automattic.com/wordpress/trunk@3615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2714ef2df9
commit
c3170f0c6b
@ -32,6 +32,8 @@ break;
|
||||
|
||||
case 'update':
|
||||
|
||||
check_admin_referer();
|
||||
|
||||
$errors = array();
|
||||
|
||||
if (!current_user_can('edit_users'))
|
||||
|
Loading…
Reference in New Issue
Block a user