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:
Konstantin Obenland
2015-06-27 15:40:27 +00:00
parent 1be584d477
commit e59592f87e
57 changed files with 103 additions and 94 deletions

View File

@@ -446,7 +446,7 @@ class Custom_Image_Header {
?>
<div class="wrap">
<h2><?php _e( 'Custom Header' ); ?></h2>
<h1><?php _e( 'Custom Header' ); ?></h1>
<?php if ( current_user_can( 'customize' ) ) { ?>
<div class="notice notice-info hide-if-no-customize">
@@ -754,7 +754,7 @@ wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>
?>
<div class="wrap">
<h2><?php _e( 'Crop Header Image' ); ?></h2>
<h1><?php _e( 'Crop Header Image' ); ?></h1>
<form method="post" action="<?php echo esc_url(add_query_arg('step', 3)); ?>">
<p class="hide-if-no-js"><?php _e('Choose the part of the image you want to use as your header.'); ?></p>