git-svn-id: http://svn.automattic.com/wordpress/trunk@13894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
3ded3d098e
commit
bad7ee5c2c
|
@ -368,10 +368,12 @@ foreach ( $wp_user_search->get_results() as $userid ) {
|
||||||
$user_object = new WP_User($userid);
|
$user_object = new WP_User($userid);
|
||||||
$roles = $user_object->roles;
|
$roles = $user_object->roles;
|
||||||
$role = array_shift($roles);
|
$role = array_shift($roles);
|
||||||
if ( is_multisite() && ! empty($role) ) {
|
|
||||||
$style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
|
if ( is_multisite() && empty( $role ) )
|
||||||
echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
|
continue;
|
||||||
}
|
|
||||||
|
$style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
|
||||||
|
echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Reference in New Issue