- 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-sites-list-table.php
r30679 r31181 209 209 } 210 210 211 $class = '';212 211 foreach ( $this->items as $blog ) { 213 $class = ( 'alternate' == $class ) ? '' : 'alternate';212 $class = ''; 214 213 reset( $status_list ); 215 214 … … 217 216 foreach ( $status_list as $status => $col ) { 218 217 if ( get_blog_status( $blog['blog_id'], $status ) == 1 ) { 219 $class = $col[0];218 $class = " class='{$col[0]}'"; 220 219 $blog_states[] = $col[1]; 221 220 } … … 232 231 } 233 232 } 234 echo "<tr class='$class'>";233 echo "<tr{$class}>"; 235 234 236 235 $blogname = ( is_subdomain_install() ) ? str_replace( '.' . get_current_site()->domain, '', $blog['domain'] ) : $blog['path'];
Note: See TracChangeset
for help on using the changeset viewer.