Fix var typo
git-svn-id: https://develop.svn.wordpress.org/trunk@6888 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
aec5b2b595
commit
1ed309a3b2
|
@ -330,7 +330,7 @@ unset($role_links);
|
||||||
<?php
|
<?php
|
||||||
foreach ( $wp_user_search->get_results() as $userid ) {
|
foreach ( $wp_user_search->get_results() as $userid ) {
|
||||||
$user_object = new WP_User($userid);
|
$user_object = new WP_User($userid);
|
||||||
$roles = $user->roles;
|
$roles = $user_object->roles;
|
||||||
$role = array_shift($roles);
|
$role = array_shift($roles);
|
||||||
|
|
||||||
$style = '';
|
$style = '';
|
||||||
|
|
Loading…
Reference in New Issue