Make WordPress Core

Changeset 13894


Ignore:
Timestamp:
03/30/2010 06:28:11 PM (15 years ago)
Author:
wpmuguru
Message:

restore user list display in single site, props ocean90, see #12711, #12767

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r13883 r13894  
    369369    $roles = $user_object->roles;
    370370    $role = array_shift($roles);
    371     if ( is_multisite() && ! empty($role) ) {
    372         $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
    373         echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
    374     }
     371
     372    if ( is_multisite() && empty( $role ) )
     373        continue;
     374
     375    $style = ( ' class="alternate"' == $style ) ? '' : ' class="alternate"';
     376    echo "\n\t", user_row( $user_object, $style, $role, $post_counts[ $userid ] );
    375377}
    376378?>
Note: See TracChangeset for help on using the changeset viewer.