Accessibility: Remove inappropriate content from the old Edit Media screen heading.

See #26601.

Built from https://develop.svn.wordpress.org/trunk@39542


git-svn-id: http://core.svn.wordpress.org/trunk@39482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrea Fercia 2016-12-07 23:30:40 +00:00
parent 2d76e0dfb2
commit 40e303237b
2 changed files with 7 additions and 4 deletions

View File

@ -103,13 +103,16 @@ case 'edit' :
?>
<div class="wrap">
<h1>
<?php
<h1 class="wp-heading-inline"><?php
echo esc_html( $title );
?></h1>
<?php
if ( current_user_can( 'upload_files' ) ) { ?>
<a href="media-new.php" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a>
<?php } ?>
</h1>
<hr class="wp-header-end">
<form method="post" class="media-upload-form" id="media-single-form">
<p class="submit" style="padding-bottom: 0;">

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.8-alpha-39541';
$wp_version = '4.8-alpha-39542';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.