- Timestamp:
- 06/27/2017 12:26:07 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r40310 r40956 259 259 */ 260 260 public function column_name( $user ) { 261 echo "$user->first_name $user->last_name"; 261 if ( $user->first_name && $user->last_name ) { 262 echo "$user->first_name $user->last_name"; 263 } else { 264 echo '<span aria-hidden="true">—</span><span class="screen-reader-text">' . _x( 'Unknown', 'name' ) . '</span>'; 265 } 262 266 } 263 267
Note: See TracChangeset
for help on using the changeset viewer.