@@ -63,7 +64,7 @@ foreach ($categories as $category) {
} // end case 0
case 1: {
- check_admin_referer();
+ check_admin_referer('import-bookmarks');
include_once('admin-header.php');
if ( !current_user_can('manage_links') )
diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php
index 615e0cf11e..f81884aab3 100644
--- a/wp-admin/user-edit.php
+++ b/wp-admin/user-edit.php
@@ -32,7 +32,7 @@ break;
case 'update':
-check_admin_referer();
+check_admin_referer('update-user' . $user_id);
if (!current_user_can('edit_users'))
$errors = new WP_Error('head', __('You do not have permission to edit this user.'));
@@ -74,6 +74,7 @@ if (!current_user_can('edit_users'))