Make WordPress Core

Changeset 27069


Ignore:
Timestamp:
02/02/2014 10:03:12 AM (10 years ago)
Author:
nacin
Message:

Use get_current_user_id() instead of $user_ID in user-edit.php.

props kovshenin.
fixes #26274.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r26933 r27069  
    236236<p>
    237237<input type="hidden" name="from" value="profile" />
    238 <input type="hidden" name="checkuser_id" value="<?php echo $user_ID ?>" />
     238<input type="hidden" name="checkuser_id" value="<?php echo get_current_user_id(); ?>" />
    239239</p>
    240240
Note: See TracChangeset for help on using the changeset viewer.