Make WordPress Core


Ignore:
Timestamp:
12/06/2016 11:11:08 PM (8 years ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Themes screen heading.

Props joedolson.

See #26601.

File:
1 edited

Legend:

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

    r39307 r39528  
    153153
    154154<div class="wrap">
    155     <h1><?php esc_html_e( 'Themes' ); ?>
     155    <h1 class="wp-heading-inline"><?php esc_html_e( 'Themes' ); ?>
    156156        <span class="title-count theme-count"><?php echo count( $themes ); ?></span>
     157    </h1>
     158
    157159    <?php if ( ! is_multisite() && current_user_can( 'install_themes' ) ) : ?>
    158160        <a href="<?php echo admin_url( 'theme-install.php' ); ?>" class="hide-if-no-js page-title-action"><?php echo esc_html_x( 'Add New', 'Add new theme' ); ?></a>
    159161    <?php endif; ?>
    160     </h1>
     162
     163    <span class="search-form"></span>
     164
     165    <hr class="wp-header-end">
    161166<?php
    162167if ( ! validate_current_theme() || isset( $_GET['broken'] ) ) : ?>
Note: See TracChangeset for help on using the changeset viewer.