mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user