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/setup-config.php

    r35143 r35508  
    8989</head>
    9090<body class="<?php echo implode( ' ', $body_classes ); ?>">
    91 <h1 id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></h1>
     91<p id="logo"><a href="<?php esc_attr_e( 'https://wordpress.org/' ); ?>" tabindex="-1"><?php _e( 'WordPress' ); ?></a></p>
    9292<?php
    9393} // end function setup_config_display_header();
     
    104104        if ( wp_can_install_language_pack() && empty( $language ) && ( $languages = wp_get_available_translations() ) ) {
    105105            setup_config_display_header( 'language-chooser' );
     106            echo '<h1 class="screen-reader-text">Select a default language</h1>';
    106107            echo '<form id="setup" method="post" action="?step=0">';
    107108            wp_install_language_form( $languages );
     
    130131        }
    131132?>
    132 
     133<h1 class="screen-reader-text"><?php _e( 'Before getting started' ) ?></h1>
    133134<p><?php _e( 'Welcome to WordPress. Before getting started, we need some information on the database. You will need to know the following items before proceeding.' ) ?></p>
    134135<ol>
     
    156157        setup_config_display_header();
    157158    ?>
     159<h1 class="screen-reader-text"><?php _e( 'Setup your database connection' ) ?></h1>
    158160<form method="post" action="setup-config.php?step=2">
    159161    <p><?php _e( "Below you should enter your database connection details. If you&#8217;re not sure about these, contact your host." ); ?></p>
     
    345347        setup_config_display_header();
    346348?>
     349<h1 class="screen-reader-text"><?php _e( 'Successful database connection' ) ?></h1>
    347350<p><?php _e( "All right, sparky! You&#8217;ve made it through this part of the installation. WordPress can now communicate with your database. If you are ready, time now to&hellip;" ); ?></p>
    348351
Note: See TracChangeset for help on using the changeset viewer.