WordPress 4.3.1
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-users-list-table.php
index 4035c58cb6e103234e6d8a54dcb7636c7d98b572..bb83f85672052b0a49bfb3c010d40a821b8bfe4c 100644 (file)
@@ -435,7 +435,7 @@ class WP_Users_List_Table extends WP_List_Table {
                                                $r .= "$user_object->first_name $user_object->last_name";
                                                break;
                                        case 'email':
-                                               $r .= "<a href='mailto:$email'>$email</a>";
+                                               $r .= "<a href='" . esc_url( "mailto:$email" ) . "'>$email</a>";
                                                break;
                                        case 'role':
                                                $r .= $role_name;