Edit profile nonce fix from markjaquith. fixes #2776

git-svn-id: https://develop.svn.wordpress.org/trunk@3839 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2006-06-04 03:41:33 +00:00
parent acb5008e9c
commit 2d8cde3b47
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ if (!current_user_can('edit_users'))
<h2><?php _e('Edit User'); ?></h2>
<form name="profile" id="your-profile" action="user-edit.php" method="post">
<?php wp_nonce_field('update-user_' . $user_ID) ?>
<?php wp_nonce_field('update-user_' . $user_id) ?>
<p>
<input type="hidden" name="from" value="profile" />
<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />