WordPress.org

Make WordPress Core

Ticket #25403: 25403.diff

File 25403.diff, 1.5 KB (added by helen, 7 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    340340                if ( !$action_count )
    341341                        return '';
    342342
    343                 $out = '<div class="' . ( $always_visible ? 'row-actions-visible' : 'row-actions' ) . '">';
     343                $out = '<div class="' . ( $always_visible ? 'row-actions visible' : 'row-actions' ) . '">';
    344344                foreach ( $actions as $action => $link ) {
    345345                        ++$i;
    346346                        ( $i == $action_count ) ? $sep = '' : $sep = ' | ';
  • wp-admin/css/wp-admin.css

     
    55465546        list-style-type: disc;
    55475547}
    55485548
    5549 .plugins .row-actions-visible {
     5549.plugins .row-actions {
    55505550        padding: 0;
    55515551}
    55525552
     
    55785578}
    55795579
    55805580.plugins .second,
    5581 .plugins .row-actions-visible {
     5581.plugins .row-actions {
    55825582        padding: 0 0 5px;
    55835583}
    55845584
    55855585.plugins .update .second,
    5586 .plugins .update .row-actions-visible {
     5586.plugins .update .row-actions {
    55875587        padding-bottom: 0;
    55885588}
    55895589
     
    64556455        padding: 2px 0 0;
    64566456}
    64576457
    6458 .mobile .row-actions {
    6459         visibility: visible;
    6460 }
    6461 
    64626458tr:hover .row-actions,
     6459.mobile .row-actions,
     6460.row-actions.visible,
    64636461div.comment-item:hover .row-actions {
    64646462        visibility: visible;
    64656463}
    64666464
     6465/* deprecated */
    64676466.row-actions-visible {
    64686467        padding: 2px 0 0;
    64696468}