diff options
Diffstat (limited to 'wp-includes/user.php')
| -rw-r--r-- | wp-includes/user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/user.php b/wp-includes/user.php index d5828bb..e1f9770 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -152,7 +152,7 @@ function setup_userdata($user_id = '') { if ( '' == $user_id ) $user = wp_get_current_user(); - else + else $user = new WP_User($user_id); if ( 0 == $user->ID ) |
