mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +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:
@@ -415,7 +415,7 @@ function do_core_upgrade( $reinstall = false ) {
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Update WordPress'); ?></h2>
|
||||
<h1><?php _e( 'Update WordPress' ); ?></h1>
|
||||
<?php
|
||||
|
||||
if ( false === ( $credentials = request_filesystem_credentials( $url, '', false, ABSPATH, array( 'version', 'locale' ), $allow_relaxed_file_ownership ) ) ) {
|
||||
@@ -542,7 +542,7 @@ if ( 'upgrade-core' == $action ) {
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2><?php _e('WordPress Updates'); ?></h2>
|
||||
<h1><?php _e( 'WordPress Updates' ); ?></h1>
|
||||
<?php
|
||||
if ( $upgrade_error ) {
|
||||
echo '<div class="error"><p>';
|
||||
@@ -624,7 +624,7 @@ if ( 'upgrade-core' == $action ) {
|
||||
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
echo '<div class="wrap">';
|
||||
echo '<h2>' . esc_html__('Update Plugins') . '</h2>';
|
||||
echo '<h1>' . __( 'Update Plugins' ) . '</h1>';
|
||||
echo '<iframe src="', $url, '" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe>';
|
||||
echo '</div>';
|
||||
include(ABSPATH . 'wp-admin/admin-footer.php');
|
||||
@@ -653,7 +653,7 @@ if ( 'upgrade-core' == $action ) {
|
||||
require_once(ABSPATH . 'wp-admin/admin-header.php');
|
||||
?>
|
||||
<div class="wrap">
|
||||
<h2><?php echo esc_html__('Update Themes') ?></h2>
|
||||
<h1><?php _e( 'Update Themes' ); ?></h1>
|
||||
<iframe src="<?php echo $url ?>" style="width: 100%; height: 100%; min-height: 750px;" frameborder="0"></iframe>
|
||||
</div>
|
||||
<?php
|
||||
|
||||
Reference in New Issue
Block a user