WordPress.org

Make WordPress Core

Ticket #16017: garyc40-16017-rev3.patch

File garyc40-16017-rev3.patch, 3.0 KB (added by garyc40, 7 years ago)

removed unnecessary styles introduced in previous patches

  • wp-admin/css/wp-admin-rtl.dev.css

    diff --git wp-admin/css/wp-admin-rtl.dev.css wp-admin/css/wp-admin-rtl.dev.css
    index adc3a77..541ced5 100644
    td.available-theme { 
    9292        margin-left: 10px;
    9393}
    9494.tablenav a.button-secondary {
    95         margin: 8px 0 0 8px;
     95        margin: 3px 0 0 8px;
    9696}
    9797.tablenav .tablenav-pages {
    9898        float: left;
    p.search-box { 
    366366        margin-right: 0;
    367367        margin-left: 8px;
    368368}
     369.tablenav .actions {
     370        padding: 2px 0 0 8px;
     371}
    369372.tablenav .delete {
    370373        margin-right: 0;
    371374        margin-left: 20px;
    p.search-box { 
    373376td.action-links, th.action-links {
    374377        text-align: left;
    375378}
     379.widefat th a span {
     380        float:right;
     381}
     382.sorting-indicator {
     383        margin:5px 7px 0 0;
     384}
     385#minor-publishing .ajax-loading {
     386        float:right;
     387        padding:3px 4px 0 0;
     388}
    376389/* 2000 - 2300
    377390=================================== */
    378391.filter .subsubsub {
  • wp-admin/css/wp-admin.dev.css

    diff --git wp-admin/css/wp-admin.dev.css wp-admin/css/wp-admin.dev.css
    index b338b4a..9d4c3f0 100644
    span.post-state span { 
    15451545        color: #555;
    15461546}
    15471547
    1548 
    15491548/*------------------------------------------------------------------------------
    15501549  10.1 - Inline Editing
    15511550------------------------------------------------------------------------------*/
  • wp-admin/includes/class-wp-comments-list-table.php

    diff --git wp-admin/includes/class-wp-comments-list-table.php wp-admin/includes/class-wp-comments-list-table.php
    index 16b5106..bfc29a3 100644
    class WP_Comments_List_Table extends WP_List_Table { 
    339339                }
    340340
    341341                echo '<div class="submitted-on">';
    342                 /* translators: 2: comment date, 3: comment time */
    343                 printf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
    344                         /* translators: comment date format. See http://php.net/date */ get_comment_date( __( 'Y/m/d' ) ),
    345                         /* translators: comment time format. See http://php.net/date */ get_comment_date( get_option( 'time_format' ) ) );
    346 
     342                $submitted_on = array(
     343                        /* translators: 2: comment date, 3: comment time */
     344                        sprintf( __( 'Submitted on <a href="%1$s">%2$s at %3$s</a>' ), $comment_url,
     345                                /* translators: comment date format. See http://php.net/date */ get_comment_date( __( 'Y/m/d' ) ),
     346                                /* translators: comment time format. See http://php.net/date */ get_comment_date( get_option( 'time_format' ) ) ),
     347                );
     348               
    347349                if ( $comment->comment_parent ) {
    348350                        $parent = get_comment( $comment->comment_parent );
    349351                        $parent_link = esc_url( get_comment_link( $comment->comment_parent ) );
    350352                        $name = get_comment_author( $parent->comment_ID );
    351                         printf( ' | '.__( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );
     353                        $submitted_on[] = ' | ';
     354                        $submitted_on[] = sprintf( __( 'In reply to <a href="%1$s">%2$s</a>.' ), $parent_link, $name );
     355                }
     356
     357                if ( count( $submitted_on ) > 1 && is_rtl() ) {
     358                        $submitted_on = array_reverse( $submitted_on );
    352359                }
     360                echo implode( '', $submitted_on );
    353361
    354362                echo '</div>';
    355363                comment_text();