From 868709a4e7b1971825c85bc4b575173250420afd Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 18 Nov 2022 15:19:07 +0000 Subject: [PATCH] Users: Add missing escaping on the Add New User screen. While the `$type` and `$label` variables are set to values that do not currently require escaping, this may change in the future, so it is preferable to add the escaping as a defensive coding measure. Follow-up to [16294], [29030]. Props monzuralam, rudlinkon, hztyfoon, peterwilsoncc. Fixes #57133. git-svn-id: https://develop.svn.wordpress.org/trunk@54857 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-new.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-admin/user-new.php b/src/wp-admin/user-new.php index 7b0287545f..9edd7f067f 100644 --- a/src/wp-admin/user-new.php +++ b/src/wp-admin/user-new.php @@ -442,8 +442,8 @@ if ( is_multisite() && current_user_can( 'promote_users' ) ) { - - + +