WordPress.org

Make WordPress Core

Changeset 39534


Ignore:
Timestamp:
12/07/16 18:28:49 (5 months ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Users screen heading.

See #26601.

File:
1 edited

Legend:

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

    r39312 r39534  
    492492 
    493493<div class="wrap"> 
    494 <h1> 
    495 <?php 
     494<h1 class="wp-heading-inline"><?php 
    496495echo esc_html( $title ); 
     496?></h1> 
     497 
     498<?php 
    497499if ( current_user_can( 'create_users' ) ) { ?> 
    498500    <a href="<?php echo admin_url( 'user-new.php' ); ?>" class="page-title-action"><?php echo esc_html_x( 'Add New', 'user' ); ?></a> 
     
    506508} 
    507509?> 
    508 </h1> 
     510 
     511<hr class="wp-header-end"> 
    509512 
    510513<?php $wp_list_table->views(); ?> 
Note: See TracChangeset for help on using the changeset viewer.