mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40:26 +00:00
Proper heading for admin screens.
First step towards restoring a good heading structure in wp-admin. The previous `<h1>` contained the site title and a link to the front page and was removed with the toolbar refactoring in 3.2. Props joedolson, afercia. Fixes #31650. git-svn-id: https://develop.svn.wordpress.org/trunk@32974 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -103,13 +103,13 @@ case 'edit' :
|
||||
?>
|
||||
|
||||
<div class="wrap">
|
||||
<h2>
|
||||
<h1>
|
||||
<?php
|
||||
echo esc_html( $title );
|
||||
if ( current_user_can( 'upload_files' ) ) { ?>
|
||||
<a href="media-new.php" class="add-new-h2"><?php echo esc_html_x('Add New', 'file'); ?></a>
|
||||
<?php } ?>
|
||||
</h2>
|
||||
</h1>
|
||||
|
||||
<form method="post" class="media-upload-form" id="media-single-form">
|
||||
<p class="submit" style="padding-bottom: 0;">
|
||||
|
||||
Reference in New Issue
Block a user