WordPress 4.2.5
[autoinstalls/wordpress.git] / wp-admin / includes / class-wp-users-list-table.php
index 500673637068075cd277f3d075ef4209dd34b0f0..07aab5b1b78a886bf113eedd5e9e25d9e6f807d1 100644 (file)
@@ -420,7 +420,7 @@ class WP_Users_List_Table extends WP_List_Table {
                                        $r .= "<td $attributes>$user_object->first_name $user_object->last_name</td>";
                                        break;
                                case 'email':
-                                       $r .= "<td $attributes><a href='mailto:$email' title='" . esc_attr( sprintf( __( 'E-mail: %s' ), $email ) ) . "'>$email</a></td>";
+                                       $r .= "<td $attributes><a href='" . esc_url( "mailto:$email" ) . "' title='" . esc_attr( sprintf( __( 'E-mail: %s' ), $email ) ) . "'>$email</a></td>";
                                        break;
                                case 'role':
                                        $r .= "<td $attributes>$role_name</td>";