Edit profile nonce fix from markjaquith. fixes #2776
git-svn-id: http://svn.automattic.com/wordpress/branches/2.0@3838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bcb92dfc50
commit
4d0ae7b3f9
|
@ -73,7 +73,7 @@ if (!current_user_can('edit_users')) $errors['head'] = __('You do not have permi
|
||||||
<h2><?php _e('Edit User'); ?></h2>
|
<h2><?php _e('Edit User'); ?></h2>
|
||||||
|
|
||||||
<form name="profile" id="your-profile" action="user-edit.php" method="post">
|
<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>
|
<p>
|
||||||
<input type="hidden" name="from" value="profile" />
|
<input type="hidden" name="from" value="profile" />
|
||||||
<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
|
<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
|
||||||
|
|
Loading…
Reference in New Issue