- Timestamp:
- 06/10/2015 07:30:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r32686 r32723 439 439 $style = ' style="display:none;"'; 440 440 441 $extra_class = '';442 if ( $primary === $column_name ) {443 $extra_class = ' column-primary';444 }445 446 441 switch ( $column_name ) { 447 442 case 'cb': … … 449 444 break; 450 445 case 'name': 451 echo "<td class='theme-title{$extra_class}'$style><strong>" . $theme->display('Name') . "</strong>"; 452 if ( $primary === $column_name ) { 453 echo $this->row_actions($actions, true); 454 } 446 echo "<td class='theme-title column-primary'$style><strong>" . $theme->display('Name') . "</strong>"; 447 echo $this->row_actions($actions, true); 455 448 echo "</td>"; 456 449 break; 457 450 case 'description': 458 echo "<td class='column-description desc {$extra_class}'$style>";451 echo "<td class='column-description desc'$style>"; 459 452 if ( $theme->errors() ) { 460 453 $pre = $status == 'broken' ? __( 'Broken Theme:' ) . ' ' : ''; … … 491 484 492 485 echo '</div>'; 493 if ( $primary === $column_name ) {494 echo $this->row_actions($actions, true);495 }496 486 echo '</td>'; 497 487 break; 498 488 499 489 default: 500 echo "<td class='$column_name column-$column_name {$extra_class}'$style>";490 echo "<td class='$column_name column-$column_name'$style>"; 501 491 502 492 /** … … 511 501 do_action( 'manage_themes_custom_column', $column_name, $stylesheet, $theme ); 512 502 513 if ( $primary === $column_name ) {514 echo $this->row_actions($actions, true);515 }516 503 echo "</td>"; 517 504 }
Note: See TracChangeset
for help on using the changeset viewer.