Ticket #32535: 32535.patch
File 32535.patch, 1.8 KB (added by , 9 years ago) |
---|
-
src/wp-admin/css/list-tables.css
249 249 width: 8%; 250 250 } 251 251 252 .fixed .column-posts,253 252 .fixed .column-date, 254 253 .fixed .column-parent, 255 254 .fixed .column-links, … … 262 261 width: 74px; 263 262 } 264 263 264 .fixed .column-posts a { 265 display: inline-block; 266 padding: 10px 16px; 267 } 268 265 269 .fixed .column-comment .comment-author { 266 270 display: none; 267 271 } -
src/wp-admin/includes/class-wp-users-list-table.php
429 429 $r .= "$user_object->first_name $user_object->last_name"; 430 430 break; 431 431 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>"; 433 433 break; 434 434 case 'role': 435 435 $r .= $role_name; … … 436 436 break; 437 437 case 'posts': 438 438 $attributes = 'class="posts column-posts num"' . $style; 439 $r .= "";440 439 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>'; 443 443 $r .= '</a>'; 444 444 } else { 445 445 $r .= 0;