[wp-trac] [WordPress Trac] #63006: Invalid aria-describedby for email if user not current user
WordPress Trac
noreply at wordpress.org
Sat Feb 22 01:55:26 UTC 2025
#63006: Invalid aria-describedby for email if user not current user
--------------------------+-----------------------------
Reporter: kkmuffme | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: trivial | Keywords:
Focuses: |
--------------------------+-----------------------------
https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-admin
/user-edit.php#L548
{{{#!php
<?php
<input type="email" name="email" id="email" aria-describedby="email-
description" value="<?php echo esc_attr( $profile_user->user_email ); ?>"
class="regular-text ltr" />
<?php if (
$profile_user->ID === $current_user->ID ) : ?>
<p
class="description" id="email-description">
}}}
if user not current user, the aria-describedby is invalid and shouldn't be
output
--
Ticket URL: <https://core.trac.wordpress.org/ticket/63006>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list