WordPress.org

Make WordPress Core

Ticket #16827: user-row-highlights2.diff

File user-row-highlights2.diff, 2.2 KB (added by nickmomrik, 7 years ago)
  • wp-admin/includes/class-wp-ms-users-list-table.php

     
    137137                $alt = '';
    138138                $super_admins = get_super_admins();
    139139                foreach ( $this->items as $user ) {
    140                         $alt = ( 'alternate' == $alt ) ? '' : 'alternate';
     140                        $alt = ( 0 === strpos( $alt, 'alternate' ) ) ? '' : 'alternate';
    141141
    142142                        $status_list = array( 'spam' => 'site-spammed', 'deleted' => 'site-deleted' );
    143143
  • wp-admin/css/ms.dev.css

     
    2020
    2121/* Background Color for Site Status */
    2222.site-deleted {
    23         background: #ff8573;
     23        background: #ff8573 !important;
    2424}
    2525.site-spammed {
    26         background: #faafaa;
     26        background: #faafaa !important;
    2727}
    2828.site-archived {
    29         background: #ffebe8;
     29        background: #ffebe8 !important;
    3030}
    3131.site-mature {
    32         background: #fecac2;
     32        background: #fecac2 !important;
    3333}
  • wp-admin/css/ms.css

     
    1 #dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;padding-left:16px;position:static;}#dashboard_right_now td.b a.musublink{font-size:16px;}#dashboard_right_now div.musubtable{border-top:none;}#dashboard_right_now div.musubtable .t{white-space:normal;}.site-deleted{background:#ff8573;}.site-spammed{background:#faafaa;}.site-archived{background:#ffebe8;}.site-mature{background:#fecac2;}
    2  No newline at end of file
     1#dashboard_right_now p.musub{margin-top:12px;border-top:1px solid #ececec;padding-left:16px;position:static;}#dashboard_right_now td.b a.musublink{font-size:16px;}#dashboard_right_now div.musubtable{border-top:none;}#dashboard_right_now div.musubtable .t{white-space:normal;}.site-deleted{background:#ff8573 !important;}.site-spammed{background:#faafaa !important;}.site-archived{background:#ffebe8 !important;}.site-mature{background:#fecac2 !important;}