Accessibility: Remove inappropriate content from the Add Themes screen heading.
Props joedolson. See #26601. Built from https://develop.svn.wordpress.org/trunk@39527 git-svn-id: http://core.svn.wordpress.org/trunk@39467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
26ef4bd86d
commit
c1f59f9fe3
|
@ -119,8 +119,9 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
|||
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h1><?php
|
||||
echo esc_html( $title );
|
||||
<h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1>
|
||||
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Filters the tabs shown on the Add Themes screen.
|
||||
|
@ -135,7 +136,10 @@ include(ABSPATH . 'wp-admin/admin-header.php');
|
|||
if ( ! empty( $tabs['upload'] ) && current_user_can( 'upload_themes' ) ) {
|
||||
echo ' <button type="button" class="upload-view-toggle page-title-action hide-if-no-js" aria-expanded="false">' . __( 'Upload Theme' ) . '</button>';
|
||||
}
|
||||
?></h1>
|
||||
?>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<div class="error hide-if-js">
|
||||
<p><?php _e( 'The Theme Installer screen requires JavaScript.' ); ?></p>
|
||||
</div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39526';
|
||||
$wp_version = '4.8-alpha-39527';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue