Accessibility: Remove inappropriate content from the old Edit Media screen heading.
See #26601. git-svn-id: https://develop.svn.wordpress.org/trunk@39542 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3760639b2c
commit
2b2f5a5105
@ -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;">
|
||||
|
Loading…
x
Reference in New Issue
Block a user