WordPress.org

Make WordPress Core

Changeset 39527


Ignore:
Timestamp:
12/06/2016 10:23:22 PM (18 months ago)
Author:
afercia
Message:

Accessibility: Remove inappropriate content from the Add Themes screen heading.

Props joedolson.

See #26601.

File:
1 edited

Legend:

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

    r39325 r39527  
    120120?>
    121121<div class="wrap">
    122     <h1><?php
    123     echo esc_html( $title );
     122    <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
     123
     124    <?php
    124125
    125126    /**
     
    136137        echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>';
    137138    }
    138     ?></h1>
     139    ?>
     140
     141    <hr class="wp-header-end">
     142
    139143    <div class="error hide-if-js">
    140144        <p><?php _e( 'The Theme Installer screen requires JavaScript.' ); ?></p>
Note: See TracChangeset for help on using the changeset viewer.