Accessibility: Remove inappropriate content from the Widgets screen heading.
See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39541 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
fd4b770d7e
commit
3760639b2c
@ -344,9 +344,11 @@ $errors = array(
|
|||||||
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
require_once( ABSPATH . 'wp-admin/admin-header.php' ); ?>
|
||||||
|
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
<h1>
|
<h1 class="wp-heading-inline"><?php
|
||||||
<?php
|
|
||||||
echo esc_html( $title );
|
echo esc_html( $title );
|
||||||
|
?></h1>
|
||||||
|
|
||||||
|
<?php
|
||||||
if ( current_user_can( 'customize' ) ) {
|
if ( current_user_can( 'customize' ) ) {
|
||||||
printf(
|
printf(
|
||||||
' <a class="page-title-action hide-if-no-customize" href="%1$s">%2$s</a>',
|
' <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']]) ) { ?>
|
<?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>
|
<div id="message" class="updated notice is-dismissible"><p><?php echo $messages[$_GET['message']]; ?></p></div>
|
||||||
|
Loading…
Reference in New Issue
Block a user