Ticket #2776: correctly_nonce_user_editing.diff
| File correctly_nonce_user_editing.diff, 0.5 kB (added by markjaquith, 2 years ago) |
|---|
-
wp-admin/user-edit.php
old new 73 73 <h2><?php _e('Edit User'); ?></h2> 74 74 75 75 <form name="profile" id="your-profile" action="user-edit.php" method="post"> 76 <?php wp_nonce_field('update-user_' . $user_ ID) ?>76 <?php wp_nonce_field('update-user_' . $user_id) ?> 77 77 <p> 78 78 <input type="hidden" name="from" value="profile" /> 79 79 <input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
