Forgot to change a variable name in [15703]
git-svn-id: http://svn.automattic.com/wordpress/trunk@15704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
4629103d2c
commit
16d7e9e96e
|
@ -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