WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/09/2016 06:56:46 PM (3 years ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Network screens headings.

See #26601.

File:
1 edited

Legend:

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

    r38957 r39551  
    248248
    249249<div class="wrap">
    250 <h1><?php echo esc_html( $title ); if ( current_user_can('install_themes') ) { ?> <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x('Add New', 'theme'); ?></a><?php }
     250<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
     251
     252<?php if ( current_user_can( 'install_themes' ) ) : ?>
     253    <a href="theme-install.php" class="page-title-action"><?php echo esc_html_x( 'Add New', 'theme' ); ?></a>
     254<?php endif; ?>
     255
     256<?php
    251257if ( isset( $_REQUEST['s'] ) && strlen( $_REQUEST['s'] ) ) {
    252258    /* translators: %s: search keywords */
     
    254260}
    255261?>
    256 </h1>
     262
     263<hr class="wp-header-end">
    257264
    258265<?php
Note: See TracChangeset for help on using the changeset viewer.