Make WordPress Core

Ticket #34519: 34519.patch

File 34519.patch, 4.7 KB (added by rianrietveld, 10 years ago)

Heading changes

  • src/wp-admin/css/install.css

     
    2424        color: #00a0d2;
    2525}
    2626
    27 h1 {
     27h1,
     28h2 {
    2829        border-bottom: 1px solid #dedede;
    2930        clear: both;
    3031        color: #666;
     
    3536        font-weight: normal;
    3637}
    3738
    38 h2 {
    39         font-size: 16px;
    40 }
    41 
    4239p, li, dd, dt {
    4340        padding-bottom: 2px;
    4441        font-size: 14px;
     
    7370
    7471#logo {
    7572        margin: 6px 0 14px 0;
     73        padding: 0 0 7px 0;
    7674        border-bottom: none;
    77         text-align:center
     75        text-align:center;
    7876}
    7977#logo a {
    8078        background-image: url(../images/w-logo-blue.png?ver=20131202);
  • src/wp-admin/install.php

     
    1616        <title>Error: PHP is not running</title>
    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>
    2323</html>
     
    7676        ?>
    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
    8282} // end display_header()
     
    106106
    107107        if ( ! is_null( $error ) ) {
    108108?>
     109<h1><?php _e( 'Welcome' ); ?></h1>
    109110<p class="message"><?php echo $error; ?></p>
    110111<?php } ?>
    111112<form id="setup" method="post" action="install.php?step=2" novalidate="novalidate">
     
    286287<h1><?php _ex( 'Welcome', 'Howdy' ); ?></h1>
    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
    292293<?php
  • src/wp-admin/setup-config.php

     
    8888        <?php wp_admin_css( 'install', true ); ?>
    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();
    9494
     
    103103        case -1:
    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 );
    108109                        echo '</form>';
     
    129130                        $step_1 .= '&amp;language=' . $loaded_language;
    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>
    135136        <li><?php _e( 'Database name' ); ?></li>
     
    155156
    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>
    160162        <table class="form-table">
     
    344346                chmod( $path_to_wp_config, 0666 );
    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
    349352<p class="step"><a href="<?php echo $install; ?>" class="button button-large"><?php _e( 'Run the install' ); ?></a></p>