Ticket #2776: correctly_nonce_user_editing.diff

File correctly_nonce_user_editing.diff, 0.5 kB (added by markjaquith, 2 years ago)

patch for /branches/2.0/

  • wp-admin/user-edit.php

    old new  
    7373<h2><?php _e('Edit User'); ?></h2> 
    7474 
    7575<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) ?> 
    7777<p> 
    7878<input type="hidden" name="from" value="profile" /> 
    7979<input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />