mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-29 07:37:44 +02:00
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:
parent
2d76e0dfb2
commit
40e303237b
@ -103,13 +103,16 @@ case 'edit' :
|
|||||||
?>
|
?>
|
||||||
|
|
||||||
<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( 'upload_files' ) ) { ?>
|
if ( current_user_can( 'upload_files' ) ) { ?>
|
||||||
<a href="media-new.php" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a>
|
<a href="media-new.php" class="page-title-action"><?php echo esc_html_x('Add New', 'file'); ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</h1>
|
|
||||||
|
<hr class="wp-header-end">
|
||||||
|
|
||||||
<form method="post" class="media-upload-form" id="media-single-form">
|
<form method="post" class="media-upload-form" id="media-single-form">
|
||||||
<p class="submit" style="padding-bottom: 0;">
|
<p class="submit" style="padding-bottom: 0;">
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user