Make WordPress Core

Ticket #25951: 25951.diff

File 25951.diff, 8.6 KB (added by johnbillion, 12 years ago)
  • readme.html

    diff --git readme.html readme.html
    index b9be942..87030a9 100644
     
    11<!DOCTYPE html>
    22<html>
    33<head>
     4        <meta name="viewport" content="width=device-width" />
    45        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    56        <title>WordPress &#8250; ReadMe</title>
    67        <link rel="stylesheet" href="wp-admin/css/install.css?ver=20100228" type="text/css" />
  • wp-admin/css/install.css

    diff --git wp-admin/css/install.css wp-admin/css/install.css
    index 03c0e98..d0bef76 100644
     
    11html {
    2         background: #f9f9f9;
     2        background: #eee;
     3        margin: 0 20px;
    34}
    45
    56body {
    67        background: #fff;
    7         color: #333;
    8         font-family: sans-serif;
    9         margin: 2em auto;
    10         padding: 1em 2em;
    11         -webkit-border-radius: 3px;
    12         border-radius: 3px;
    13         border: 1px solid #dfdfdf;
     8        color: #555;
     9        font-family: 'Open Sans', sans-serif;
     10        margin: 140px auto 25px;
     11        padding: 20px 20px 10px 20px;
     12        border: 1px solid #dedede;
     13        -webkit-box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
     14        box-shadow: 0px 1px 1px -1px rgba(0,0,0,0.1);
    1415        max-width: 700px;
     16        -webkit-font-smoothing: subpixel-antialiased;
    1517}
    1618
    1719a {
    18         color: #21759b;
     20        color: #0074a2;
    1921        text-decoration: none;
    2022}
    2123
    2224a:hover {
    23         color: #d54e21;
     25        color: #2ea2cc;
    2426}
    2527
    2628h1 {
    27         border-bottom: 1px solid #dadada;
     29        border-bottom: 1px solid #dedede;
    2830        clear: both;
    2931        color: #666;
    30         font: 24px Georgia, "Times New Roman", Times, serif;
    31         margin: 30px 0 0 0;
     32        font-size: 24px;
     33        margin: 30px 0;
    3234        padding: 0;
    3335        padding-bottom: 7px;
     36        font-weight: normal;
    3437}
    3538
    3639h2 {
    p, li, dd, dt { 
    4447}
    4548
    4649code, .code {
    47         font-size: 14px;
     50        font-family: Consolas, Monaco, monospace;
    4851}
    4952
    5053ul, ol, dl {
    abbr { 
    6467        text-align:center
    6568}
    6669#logo a {
    67         background-image: url('../images/wordpress-logo.png?ver=20120216');
    68         background-size: 274px 63px;
    69         background-position: top center;
     70        background-image: url('../images/wordpress-logo.svg?ver=20131107');
     71        background-size: 80px 80px;
     72        background-position: center top;
    7073        background-repeat: no-repeat;
    71         height: 67px;
     74        color: #999;
     75        height: 80px;
     76        font-size: 20px;
     77        font-weight: normal;
     78        line-height: 1.3em;
     79        margin: -130px auto 25px;
     80        padding: 0;
     81        text-decoration: none;
     82        width: 80px;
    7283        text-indent: -9999px;
    7384        outline: none;
    7485        overflow: hidden;
    7586        display: block;
    7687}
    77 @media print,
    78   (-o-min-device-pixel-ratio: 5/4),
    79   (-webkit-min-device-pixel-ratio: 1.25),
    80   (min-resolution: 120dpi) {
    81         #logo a {
    82                 background-image: url('../images/wordpress-logo-2x.png?ver=20120412');
    83                 background-size: 274px 63px;
    84         }
    85 }
    8688.step {
    8789        margin: 20px 0 15px;
    8890}
    abbr { 
    9597}
    9698textarea {
    9799        border: 1px solid #dfdfdf;
    98         -webkit-border-radius: 3px;
    99         border-radius: 3px;
    100100        font-family: sans-serif;
    101         width:  695px;
     101        width: 100%;
     102        -moz-box-sizing: border-box;
     103        -webkit-box-sizing: border-box;
     104        -ms-box-sizing: border-box; /* ie8 only */
     105        box-sizing: border-box;
    102106}
    103107
    104108.form-table {
    textarea { 
    139143        font-size: 15px;
    140144        padding: 2px;
    141145        border: 1px #dfdfdf solid;
    142         -webkit-border-radius: 3px;
    143         border-radius: 3px;
    144146        font-family: sans-serif;
    145147}
    146148
    textarea { 
    216218
    217219.message {
    218220        border: 1px solid #c00;
    219         -webkit-border-radius: 3px;
    220         border-radius:         3px;
    221221        padding: 0.5em 0.7em;
    222222        margin: 5px 0 15px;
    223223        background-color: #ffebe8;
    body.rtl { 
    261261.rtl #pass2 {
    262262        direction: ltr;
    263263}
     264
     265@media only screen and (max-width: 799px) {
     266        body {
     267                margin-top: 115px;
     268        }
     269        #logo a {
     270                margin: -125px auto 30px;
     271        }
     272}
     273
     274@media screen and ( max-width: 782px ) {
     275
     276        .form-table {
     277                margin-top: 0;
     278        }
     279
     280        .form-table th,
     281        .form-table td {
     282                display: block;
     283                width: auto;
     284                vertical-align: middle;
     285        }
     286
     287        .form-table th {
     288                border-bottom: 1px solid #eee;
     289                padding: 20px 0 5px;
     290        }
     291
     292        .form-table td {
     293                padding: 5px 0;
     294                border: 0;
     295                margin: 0;
     296        }
     297
     298        textarea,
     299        input {
     300                font-size: 16px;
     301        }
     302
     303        .form-table td input[type="text"],
     304        .form-table td input[type="password"],
     305        .form-table td select,
     306        .form-table td textarea,
     307        .form-table span.description {
     308                width: 100%;
     309                font-size: 16px;
     310                line-height: 1.5;
     311                padding: 7px 10px;
     312                display: block;
     313                max-width: none;
     314                box-sizing: border-box;
     315                -mox-box-sizing: border-box;
     316        }
     317
     318}
  • wp-admin/install.php

    diff --git wp-admin/install.php wp-admin/install.php
    index 0b6ac2e..587d79a 100644
    function display_header() { 
    5656<!DOCTYPE html>
    5757<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    5858<head>
     59        <meta name="viewport" content="width=device-width" />
    5960        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    6061        <title><?php _e( 'WordPress &rsaquo; Installation' ); ?></title>
    6162        <?php
    switch($step) { 
    249250                }
    250251                break;
    251252}
     253if ( !wp_is_mobile() ) {
    252254?>
    253255<script type="text/javascript">var t = document.getElementById('weblog_title'); if (t){ t.focus(); }</script>
     256<?php } ?>
    254257<?php wp_print_scripts( 'user-profile' ); ?>
    255258</body>
    256259</html>
  • wp-admin/maint/repair.php

    diff --git wp-admin/maint/repair.php wp-admin/maint/repair.php
    index 98bf579..7691e7c 100644
    header( 'Content-Type: text/html; charset=utf-8' ); 
    1414<!DOCTYPE html>
    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>
    1920        <?php
    header( 'Content-Type: text/html; charset=utf-8' ); 
    2627<?php
    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'];
    3233        $okay = true;
    if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { 
    103104                        $problem_output .= "$table: $problem\n";
    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 {
    109110        if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] )
  • wp-admin/network/sites.php

    diff --git wp-admin/network/sites.php wp-admin/network/sites.php
    index 37f6440..9d1d7ce 100644
    if ( isset( $_GET['action'] ) ) { 
    6565                <!DOCTYPE html>
    6666                <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    6767                        <head>
     68                                <meta name="viewport" content="width=device-width" />
    6869                                <title><?php _e( 'WordPress &rsaquo; Confirm your action' ); ?></title>
    6970
    7071                                <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  • wp-admin/setup-config.php

    diff --git wp-admin/setup-config.php wp-admin/setup-config.php
    index d8ae356..2bcdfd2 100644
    function setup_config_display_header() { 
    9999<!DOCTYPE html>
    100100<html xmlns="http://www.w3.org/1999/xhtml"<?php if ( is_rtl() ) echo ' dir="rtl"'; ?>>
    101101<head>
     102<meta name="viewport" content="width=device-width" />
    102103<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    103104<title><?php _e( 'WordPress &rsaquo; Setup Configuration File' ); ?></title>
    104105<link rel="stylesheet" href="css/install.css?ver=<?php echo preg_replace( '/[^0-9a-z\.-]/i', '', $wp_version ); ?>" type="text/css" />
  • wp-admin/upgrade.php

    diff --git wp-admin/upgrade.php wp-admin/upgrade.php
    index 24fe976..675a901 100644
    else 
    5050<!DOCTYPE html>
    5151<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    5252<head>
     53        <meta name="viewport" content="width=device-width" />
    5354        <meta http-equiv="Content-Type" content="<?php bloginfo( 'html_type' ); ?>; charset=<?php echo get_option( 'blog_charset' ); ?>" />
    5455        <title><?php _e( 'WordPress &rsaquo; Update' ); ?></title>
    5556        <?php