- Timestamp:
- 01/14/2015 10:13:03 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r30679 r31181 150 150 global $mode; 151 151 152 $alt = '';153 152 $super_admins = get_super_admins(); 154 153 foreach ( $this->items as $user ) { 155 $ alt = ( 'alternate' == $alt ) ? '' : 'alternate';154 $class = ''; 156 155 157 156 $status_list = array( 'spam' => 'site-spammed', 'deleted' => 'site-deleted' ); … … 159 158 foreach ( $status_list as $status => $col ) { 160 159 if ( $user->$status ) 161 $ alt.= " $col";160 $class .= " $col"; 162 161 } 163 162 164 163 ?> 165 <tr class="<?php echo $alt; ?>">164 <tr class="<?php echo trim( $class ); ?>"> 166 165 <?php 167 166
Note: See TracChangeset
for help on using the changeset viewer.