Opened 14 years ago
Closed 14 years ago
#19265 closed defect (bug) (fixed)
WP_User user_level property doesn't exist any more
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 3.3 | Priority: | high |
| Severity: | major | Version: | 3.3 |
| Component: | General | Keywords: | has-patch |
| Focuses: | Cc: |
Description
[18597] for #15458 removed _fill_single_user() which had the following piece of code to set up user_level from $wpdb->prefix . 'user_level':
$level = $wpdb->prefix . 'user_level';
if ( isset( $user->{$level} ) )
$user->user_level = $user->{$level};
This mapping no longer exists so $user->user_level yields an empty string.
This also means that the $user_level global isn't set correctly.
See report at http://wordpress.org/support/topic/get_currentuserinfo-alternative-in-33-beta-3.
Attachments (3)
Change History (8)
#2
follow-up:
↓ 3
@
14 years ago
- Keywords has-patch added
Also wp_usersettings and wp_usersettingstime. I could only find one plugin, Your friendly "Current User Data" Deamon, using these two.
Note: See
TracTickets for help on using
tickets.
[UT478]