From 513a8dc17f988d16e28629a362b77e4c8087bc47 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Fri, 18 Nov 2022 15:21:15 +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. Built from https://develop.svn.wordpress.org/trunk@54857 git-svn-id: http://core.svn.wordpress.org/trunk@54409 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-new.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index 7b0287545f..9edd7f067f 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -442,8 +442,8 @@ if ( is_multisite() && current_user_can( 'promote_users' ) ) { - - + + diff --git a/wp-includes/version.php b/wp-includes/version.php index ca713b4711..c1589842ae 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.2-alpha-54856'; +$wp_version = '6.2-alpha-54857'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.