Make WordPress Core

Changeset 39538


Ignore:
Timestamp:
12/07/2016 10:07:14 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Edit User screen heading.

See #26601.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r39531 r39538  
    199199
    200200<div class="wrap" id="profile-page">
    201 <h1>
    202 <?php
     201<h1 class="wp-heading-inline"><?php
    203202echo esc_html( $title );
     203?></h1>
     204
     205<?php
    204206if ( ! IS_PROFILE_PAGE ) {
    205207    if ( current_user_can( 'create_users' ) ) { ?>
     
    208210        <a href="user-new.php" class="page-title-action"><?php echo esc_html_x( 'Add Existing', 'user' ); ?></a>
    209211    <?php }
    210 } ?>
    211 </h1>
     212}
     213?>
     214
     215<hr class="wp-header-end">
     216
    212217<form id="your-profile" action="<?php echo esc_url( self_admin_url( IS_PROFILE_PAGE ? 'profile.php' : 'user-edit.php' ) ); ?>" method="post" novalidate="novalidate"<?php
    213218    /**
Note: See TracChangeset for help on using the changeset viewer.