mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
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:
parent
0e0c2d3cdc
commit
59f86351c9
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user