Make WordPress Core


Ignore:
Timestamp:
11/04/2015 05:59:35 PM (9 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/install.php

    r34752 r35508  
    1717</head>
    1818<body class="wp-core-ui">
    19     <h1 id="logo"><a href="https://wordpress.org/">WordPress</a></h1>
    20     <h2>Error: PHP is not running</h2>
     19    <p id="logo"><a href="https://wordpress.org/">WordPress</a></p>
     20    <h1>Error: PHP is not running</h1>
    2121    <p>WordPress requires that your web server is running PHP. Your server does not have PHP installed, or PHP is turned off.</p>
    2222</body>
     
    7777</head>
    7878<body class="wp-core-ui<?php echo $body_classes ?>">
    79 <h1 id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
     79<p id="logo"><a href="<?php echo esc_url( __( 'https://wordpress.org/' ) ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
    8080
    8181<?php
     
    107107    if ( ! is_null( $error ) ) {
    108108?>
     109<h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1>
    109110<p class="message"><?php echo $error; ?></p>
    110111<?php } ?>
     
    287288<p><?php _e( 'Welcome to the famous five-minute WordPress installation process! Just fill in the information below and you&#8217;ll be on your way to using the most extendable and powerful personal publishing platform in the world.' ); ?></p>
    288289
    289 <h1><?php _e( 'Information needed' ); ?></h1>
     290<h2><?php _e( 'Information needed' ); ?></h2>
    290291<p><?php _e( 'Please provide the following information. Don&#8217;t worry, you can always change these settings later.' ); ?></p>
    291292
Note: See TracChangeset for help on using the changeset viewer.