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:
parent
509cd20ae4
commit
8650155a8b
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue