Accessibility: Remove inappropriate content from the Widgets screen heading.
See #26601. Built from https://develop.svn.wordpress.org/trunk@39541 git-svn-id: http://core.svn.wordpress.org/trunk@39481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
da4cc4d9e2
commit
2d76e0dfb2
|
@ -344,9 +344,11 @@ $errors = array(
|
|||
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||
|
||||
<div class="wrap">
|
||||
<h1>
|
||||
<?php
|
||||
<h1 class="wp-heading-inline"><?php
|
||||
echo esc_html( $title );
|
||||
?></h1>
|
||||
|
||||
<?php
|
||||
if ( current_user_can( 'customize' ) ) {
|
||||
printf(
|
||||
' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>',
|
||||
|
@ -361,7 +363,8 @@ require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
|||
);
|
||||
}
|
||||
?>
|
||||
</h1>
|
||||
|
||||
<hr class="wp-header-end">
|
||||
|
||||
<?php if ( isset($_GET['message']) && isset($messages[$_GET['message']]) ) { ?>
|
||||
<div id="message" class="updated notice is-dismissible"><p><?php echo $messages[$_GET['message']]; ?></p></div>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '4.8-alpha-39540';
|
||||
$wp_version = '4.8-alpha-39541';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue