From 990008aa5001ef146ccb0908e2955fe87dd72eaa Mon Sep 17 00:00:00 2001 From: Konstantin Obenland Date: Fri, 5 Jun 2015 08:39:26 +0000 Subject: [PATCH] Remove title attributes in user list tables. They don't add valuable information and are redundant. Reduces annoyance for screen reader users. Props afercia. Fixes #32535. git-svn-id: https://develop.svn.wordpress.org/trunk@32694 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/class-wp-users-list-table.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/wp-admin/includes/class-wp-users-list-table.php b/src/wp-admin/includes/class-wp-users-list-table.php index 3ef2b1fdc8..fc5ace6da4 100644 --- a/src/wp-admin/includes/class-wp-users-list-table.php +++ b/src/wp-admin/includes/class-wp-users-list-table.php @@ -431,17 +431,17 @@ class WP_Users_List_Table extends WP_List_Table { $r .= "$user_object->first_name $user_object->last_name"; break; case 'email': - $r .= "$email"; + $r .= "$email"; break; case 'role': $r .= $role_name; break; case 'posts': $attributes = 'class="posts column-posts num"' . $style; - $r .= ""; if ( $numposts > 0 ) { - $r .= ""; - $r .= $numposts; + $r .= ""; + $r .= ''; + $r .= '' . sprintf( _n( '%s post by this author', '%s posts by this author', $numposts ), number_format_i18n( $numposts ) ) . ''; $r .= ''; } else { $r .= 0;