From 0da231a2d9306ab31dde5b979b76042518da9a7b Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Mon, 14 Sep 2015 22:42:23 +0000 Subject: [PATCH] List tables: escape user e-mails Merges [34133] for 4.1 branch Built from https://develop.svn.wordpress.org/branches/4.1@34139 git-svn-id: http://core.svn.wordpress.org/branches/4.1@34107 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/class-wp-ms-users-list-table.php | 2 +- wp-admin/includes/class-wp-users-list-table.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/includes/class-wp-ms-users-list-table.php b/wp-admin/includes/class-wp-ms-users-list-table.php index 3a8dd25259..439841fe4c 100644 --- a/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/wp-admin/includes/class-wp-ms-users-list-table.php @@ -225,7 +225,7 @@ class WP_MS_Users_List_Table extends WP_List_Table { break; case 'email': - echo "$user->user_email"; + echo "$user->user_email"; break; case 'registered': diff --git a/wp-admin/includes/class-wp-users-list-table.php b/wp-admin/includes/class-wp-users-list-table.php index 81637e98b5..6ebd692bda 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -419,7 +419,7 @@ 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";