Make WordPress Core

Ticket #32535: 32535.patch

File 32535.patch, 1.8 KB (added by afercia, 9 years ago)
  • src/wp-admin/css/list-tables.css

     
    249249        width: 8%;
    250250}
    251251
    252 .fixed .column-posts,
    253252.fixed .column-date,
    254253.fixed .column-parent,
    255254.fixed .column-links,
     
    262261    width: 74px;
    263262}
    264263
     264.fixed .column-posts a {
     265        display: inline-block;
     266        padding: 10px 16px;
     267}
     268
    265269.fixed .column-comment .comment-author {
    266270        display: none;
    267271}
  • src/wp-admin/includes/class-wp-users-list-table.php

     
    429429                                                $r .= "$user_object->first_name $user_object->last_name";
    430430                                                break;
    431431                                        case 'email':
    432                                                 $r .= "<a href='mailto:$email' title='" . esc_attr( sprintf( __( 'E-mail: %s' ), $email ) ) . "'>$email</a>";
     432                                                $r .= "<a href='mailto:$email'>$email</a>";
    433433                                                break;
    434434                                        case 'role':
    435435                                                $r .= $role_name;
     
    436436                                                break;
    437437                                        case 'posts':
    438438                                                $attributes = 'class="posts column-posts num"' . $style;
    439                                                 $r .= "";
    440439                                                if ( $numposts > 0 ) {
    441                                                         $r .= "<a href='edit.php?author=$user_object->ID' title='" . esc_attr__( 'View posts by this author' ) . "' class='edit'>";
    442                                                         $r .= $numposts;
     440                                                        $r .= "<a href='edit.php?author=$user_object->ID' class='edit'>";
     441                                                        $r .= '<span aria-hidden="true">' . $numposts . '</span>';
     442                                                        $r .= '<span class="screen-reader-text">' . sprintf( _n( '%s post by this author', '%s posts by this author', $numposts ), number_format_i18n( $numposts ) ) . '</span>';
    443443                                                        $r .= '</a>';
    444444                                                } else {
    445445                                                        $r .= 0;