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

props kovshenin.
fixes #26274.


git-svn-id: https://develop.svn.wordpress.org/trunk@27069 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2014-02-02 10:03:12 +00:00
parent 509cd20ae4
commit 8650155a8b
1 changed files with 1 additions and 1 deletions

View File

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