Ticket #40628: 40628.1.patch
File 40628.1.patch, 728 bytes (added by , 7 years ago) |
---|
-
src/wp-admin/includes/class-wp-users-list-table.php
470 470 $r .= "$avatar $edit"; 471 471 break; 472 472 case 'name': 473 $r .= "$user_object->first_name $user_object->last_name"; 473 if ( ! empty( $user_object->first_name ) || ! empty( $user_object->last_name ) ) { 474 $r .= "$user_object->first_name $user_object->last_name"; 475 } else { 476 $r .= "—"; 477 } 474 478 break; 475 479 case 'email': 476 480 $r .= "<a href='" . esc_url( "mailto:$email" ) . "'>$email</a>";