From 41c50755ede588590b6df9020bdcb71a465c5251 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 13 Mar 2025 10:04:34 +0000 Subject: [PATCH] Users: Remove unwanted `aria-describedby` attribute in User Edit. This changeset removes the `aria-describedby` attribute when not editing the current user, as no description paragraph is associated. Props kkmuffme, audrasjb, faisal03, shailu25, nandow, eddystile, marineevain, qhaensler, virginienacci. Fixes #63006. Built from https://develop.svn.wordpress.org/trunk@59978 git-svn-id: http://core.svn.wordpress.org/trunk@59320 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/user-edit.php | 4 +++- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 564009ede8..c476a294ad 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -545,11 +545,13 @@ switch ( $action ) { - ID === $current_user->ID ) : ?> +

The new address will not become active until confirmed.' ); ?>

+ +