From 066499a1a289872946904295463385dce11729b0 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Thu, 13 Mar 2025 10:02:28 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@59978 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/user-edit.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wp-admin/user-edit.php b/src/wp-admin/user-edit.php index 564009ede8..c476a294ad 100644 --- a/src/wp-admin/user-edit.php +++ b/src/wp-admin/user-edit.php @@ -545,11 +545,13 @@ switch ( $action ) { - ID === $current_user->ID ) : ?> +

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

+ +