Fix var typo
git-svn-id: http://svn.automattic.com/wordpress/trunk@6888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
53c157426b
commit
a9812e8973
|
@ -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