Make WordPress Core


Ignore:
Timestamp:
11/04/2015 05:59:35 PM (10 years ago)
Author:
jorbin
Message:

Adjust heading structure for pages using wp-admin/css/install.css

The readme, installation, upgrade, and repair pages use a common css file. The heading structure for these pages was inconstant with h2s where there should be h1s, h1s where there is no relevant info and sometimes, no h1s at all.

Fixes #34519
Props rianrietveld

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/upgrade.php

    r35204 r35508  
    6868</head>
    6969<body class="wp-core-ui">
    70 <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
     70<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
    7171
    7272<?php if ( get_option( 'db_version' ) == $wp_db_version || !is_blog_installed() ) : ?>
    7373
    74 <h2><?php _e( 'No Update Required' ); ?></h2>
     74<h1><?php _e( 'No Update Required' ); ?></h1>
    7575<p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p>
    7676<p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
     
    9393        }
    9494?>
    95 <h2><?php _e( 'Database Update Required' ); ?></h2>
     95<h1><?php _e( 'Database Update Required' ); ?></h1>
    9696<p><?php _e( 'WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.' ); ?></p>
    9797<p><?php _e( 'The database update process may take a little while, so please be patient.' ); ?></p>
     
    106106            $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/');
    107107?>
    108 <h2><?php _e( 'Update Complete' ); ?></h2>
     108<h1><?php _e( 'Update Complete' ); ?></h1>
    109109    <p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
    110110    <p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
Note: See TracChangeset for help on using the changeset viewer.