mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user