git-svn-id: https://develop.svn.wordpress.org/trunk@13894 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8bfc74c42b
commit
a2244bcc26
|
@ -368,11 +368,13 @@ 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) ) {
|
|
||||||
|
if ( is_multisite() && empty( $role ) )
|
||||||
|
continue;
|
||||||
|
|
||||||
$style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
|
$style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
|
||||||
echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
|
echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
|
||||||
}
|
}
|
||||||
}
|
|
||||||
?>
|
?>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
Loading…
Reference in New Issue