Forgot to change a variable name in [15703]
git-svn-id: https://develop.svn.wordpress.org/trunk@15704 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
6c9b29e6f3
commit
996e0020b2
@ -1084,7 +1084,7 @@ function _fill_single_user( &$user, &$metavalues ) {
|
||||
foreach ( $metavalues as $meta ) {
|
||||
// Keys used as object vars cannot have dashes.
|
||||
$key = str_replace('-', '', $meta->meta_key);
|
||||
$user->{$key} = $value;
|
||||
$user->{$key} = $meta->meta_value;
|
||||
}
|
||||
|
||||
$level = $wpdb->prefix . 'user_level';
|
||||
|
Loading…
Reference in New Issue
Block a user