Edit profile nonce fix from markjaquith. fixes #2776
git-svn-id: http://svn.automattic.com/wordpress/trunk@3839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bc877b4aa2
commit
8ea8979b73
|
@ -74,7 +74,7 @@ if (!current_user_can('edit_users'))
|
||||||
<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