From 24a1b34accd3ad231bd3025e418cd2232745a19f Mon Sep 17 00:00:00 2001 From: Nikolay Bachiyski Date: Mon, 14 Sep 2015 22:45:19 +0000 Subject: [PATCH] List tables: escape user e-mails Merges [34133] for 3.7 branch Built from https://develop.svn.wordpress.org/branches/3.7@34143 git-svn-id: http://core.svn.wordpress.org/branches/3.7@34111 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 ab1ee3620e..af3e7cdaa0 100644 --- a/wp-admin/includes/class-wp-ms-users-list-table.php +++ b/wp-admin/includes/class-wp-ms-users-list-table.php @@ -201,7 +201,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 48c9c0c256..6763ed55f9 100644 --- a/wp-admin/includes/class-wp-users-list-table.php +++ b/wp-admin/includes/class-wp-users-list-table.php @@ -294,7 +294,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";