WordPress.org

Make WordPress Core


Ignore:
Timestamp:
11/21/2013 12:20:13 AM (7 years ago)
Author:
iammattthomas
Message:

Bring the install/update screens in line with the new admin design. This affects:

  • Creating a wp-config.php file
  • Installation
  • Database upgrade
  • Database repair
  • Readme.html
  • Network sites actions

What's changed:

  • Bring background/text/link/border colours in line with mp6
  • Bring fonts in line with mp6 (see note below)
  • Switch to device-width for the viewport and tweak margins etc so the layout works nicely on all device sizes
  • Switch to the new vector WordPress logo in the header to match the log in screen
  • Force table cells into rows in the <782px media query

Fixes #25951, props johnbillion.

File:
1 edited

Legend:

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

    r25725 r26298  
    1515<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    1616<head>
     17    <meta name="viewport" content="width=device-width" />
    1718    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    1819    <title><?php _e( 'WordPress &rsaquo; Database Repair' ); ?></title>
     
    2728
    2829if ( ! defined( 'WP_ALLOW_REPAIR' ) ) {
    29     echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><code>define('WP_ALLOW_REPAIR', true);</code>";
     30    echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
    3031} elseif ( isset( $_GET['repair'] ) ) {
    3132    $optimize = 2 == $_GET['repair'];
     
    104105        echo '<p><textarea name="errors" id="errors" rows="20" cols="60">' . esc_textarea( $problem_output ) . '</textarea></p>';
    105106    } else {
    106         echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><code>define('WP_ALLOW_REPAIR', true);</code>";
     107        echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>";
    107108    }
    108109} else {
Note: See TracChangeset for help on using the changeset viewer.