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

props kovshenin.
fixes #26274.

Built from https://develop.svn.wordpress.org/trunk@27069


git-svn-id: http://core.svn.wordpress.org/trunk@26942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-02-02 10:04:13 +00:00
parent 0e0c2d3cdc
commit 59f86351c9
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ if ( ! IS_PROFILE_PAGE ) {
<?php endif; ?>
<p>
<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 get_current_user_id(); ?>" />
</p>
<h3><?php _e('Personal Options'); ?></h3>