Make WordPress Core

Ticket #18576: 18576.4.patch

File 18576.4.patch, 7.3 KB (added by chexee, 14 years ago)
  • wp-load.php

     
    5353        require_once( ABSPATH . '/wp-includes/functions.php' );
    5454        require_once( ABSPATH . '/wp-includes/plugin.php' );
    5555        $text_direction = /*WP_I18N_TEXT_DIRECTION*/'ltr'/*/WP_I18N_TEXT_DIRECTION*/;
    56         wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started. Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>. You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress &rsaquo; Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
     56        wp_die(sprintf(/*WP_I18N_NO_CONFIG*/"<p>There doesn't seem to be a <code>wp-config.php</code> file. I need this before we can get started.</p> <p>Need more help? <a href='http://codex.wordpress.org/Editing_wp-config.php'>We got it</a>.</p> <p>You can create a <code>wp-config.php</code> file through a web interface, but this doesn't work for all server setups. The safest way is to manually create the file.</p><p><a href='%ssetup-config.php' class='button'>Create a Configuration File</a></p>"/*/WP_I18N_NO_CONFIG*/, $path), /*WP_I18N_ERROR_TITLE*/'WordPress &rsaquo; Error'/*/WP_I18N_ERROR_TITLE*/, array('text_direction' => $text_direction));
    5757
    5858}
    5959
  • wp-includes/functions.php

     
    28512851                body {
    28522852                        background: #fff;
    28532853                        color: #333;
    2854                         font-family: "Lucida Grande", Verdana, Arial, "Bitstream Vera Sans", sans-serif;
     2854                        font-family: sans-serif;
    28552855                        margin: 2em auto;
    2856                         width: 700px;
    28572856                        padding: 1em 2em;
    2858                         -webkit-border-radius: 11px;
    2859                         border-radius: 11px;
     2857                        -webkit-border-radius: 3px;
     2858                        -moz-border-radius: 3px;
     2859                -khtml-border-radius: 3px;
     2860                        border-radius: 3px;
    28602861                        border: 1px solid #dfdfdf;
     2862                        max-width: 700px;
    28612863                }
    28622864                #error-page {
    28632865                        margin-top: 50px;
    28642866                }
    28652867                #error-page p {
    2866                         font-size: 12px;
    2867                         line-height: 18px;
     2868                        font-size: 14px;
     2869                        line-height: 1.5;
    28682870                        margin: 25px 0 20px;
    28692871                }
    28702872                #error-page code {
    28712873                        font-family: Consolas, Monaco, monospace;
    28722874                }
     2875                ul li {
     2876                        margin-bottom: 10px;
     2877                        font-size: 14px ;
     2878                }
     2879                a {
     2880                        color: #21759B;
     2881                        text-decoration: none;
     2882                }
     2883                a:hover {
     2884                        color: #D54E21;
     2885                }
    28732886                <?php if ( 'rtl' == $text_direction ) : ?>
    2874                 body { font-family: Tahoma, arial; }
     2887                body { font-family: Tahoma, Arial; }
    28752888                <?php endif; ?>
    28762889        </style>
    28772890</head>
  • wp-admin/css/install.dev.css

     
    77        color: #333;
    88        font-family: sans-serif;
    99        margin: 2em auto;
    10         width: 700px;
    1110        padding: 1em 2em;
    12         -webkit-border-radius: 11px;
    13         border-radius: 11px;
     11        -webkit-border-radius: 3px;
     12        -moz-border-radius: 3px;
     13        -khtml-border-radius: 3px;
     14        border-radius: 3px;
    1415        border: 1px solid #dfdfdf;
     16        max-width: 700px;
    1517}
    1618
    1719a {
    18         color: #2583ad;
     20        color: #21759B;
    1921        text-decoration: none;
    2022}
    2123
    2224a:hover {
    23         color: #d54e21;
     25        color: #D54E21;
    2426}
    2527
    2628h1 {
     
    2830        clear: both;
    2931        color: #666;
    3032        font: 24px Georgia, "Times New Roman", Times, serif;
    31         margin: 5px 0 0 -4px;
     33        margin: 30px 0 0 0;
    3234        padding: 0;
    3335        padding-bottom: 7px;
    3436}
     
    3941
    4042p, li, dd, dt {
    4143        padding-bottom: 2px;
    42         font-size: 12px;
    43         line-height: 18px;
     44        font-size: 14px;
     45        line-height: 1.5;
    4446}
    4547
    4648code, .code {
    47         font-size: 13px;
     49        font-size: 14px;
    4850}
    4951
    5052ul, ol, dl {
     
    8082        cursor: pointer;
    8183        border: 1px solid #bbb;
    8284        color: #464646;
     85        -moz-border-radius: 15px;
     86        -khtml-border-radius: 15px;
    8387        -webkit-border-radius: 15px;
    8488        border-radius: 15px;
    8589        -moz-box-sizing: content-box;
     
    101105}
    102106
    103107textarea {
    104         border: 1px solid #bbb;
     108        border: 1px solid #dfdfdf;
    105109        -webkit-border-radius: 3px;
     110        -moz-border-radius: 3px;
     111        -khtml-border-radius: 3px;
    106112        border-radius: 3px;
     113        font-family: sans-serif;
     114        width:  695px;
    107115}
    108116
    109117.form-table {
     
    114122
    115123.form-table td {
    116124        margin-bottom: 9px;
    117         padding: 10px;
     125        padding: 10px 20px 10px 0;
    118126        border-bottom: 8px solid #fff;
    119         font-size: 12px;
     127        font-size: 14px;
     128        vertical-align: top
    120129}
    121130
    122131.form-table th {
    123         font-size: 13px;
     132        font-size: 14px;
    124133        text-align: left;
    125         padding: 16px 10px 10px 10px;
     134        padding: 16px 20px 10px 0;
    126135        border-bottom: 8px solid #fff;
    127136        width: 130px;
    128137        vertical-align: top;
    129138}
    130139
    131 .form-table tr {
    132         background: #f3f3f3;
    133 }
    134 
    135140.form-table code {
    136141        line-height: 18px;
    137         font-size: 18px;
     142        font-size: 14px;
    138143}
    139144
    140145.form-table p {
     
    146151        line-height: 20px;
    147152        font-size: 15px;
    148153        padding: 2px;
     154        border: 1px #DFDFDF solid;
     155        -webkit-border-radius: 3px;
     156        -moz-border-radius: 3px;
     157        -khtml-border-radius: 3px;
     158        border-radius: 3px;
     159        font-family: sans-serif;
    149160}
    150161
    151162.form-table th p {
    152163        font-weight: normal;
    153164}
    154165
     166.form-table.install-success td {
     167        vertical-align: middle;
     168        padding: 16px 20px 10px 0;
     169}
     170
     171.form-table.install-success td p {
     172        margin: 0;
     173        font-size: 14px;
     174}
     175
     176.form-table.install-success td code {
     177        margin: 0;
     178        font-size: 18px;
     179}
     180
    155181#error-page {
    156182        margin-top: 50px;
    157183}
    158184
    159185#error-page p {
    160         font-size: 12px;
     186        font-size: 14px;
    161187        line-height: 18px;
    162188        margin: 25px 0 20px;
    163189}
     
    238264.rtl #pass1,
    239265.rtl #pass2 {
    240266        direction: ltr;
    241 }
    242 
     267}
     268 No newline at end of file
  • wp-admin/setup-config.php

     
    130130                <tr>
    131131                        <th scope="row"><label for="pwd">Password</label></th>
    132132                        <td><input name="pwd" id="pwd" type="text" size="25" value="password" /></td>
    133                         <td>...and MySQL password.</td>
     133                        <td>...and your MySQL password.</td>
    134134                </tr>
    135135                <tr>
    136136                        <th scope="row"><label for="dbhost">Database Host</label></th>
  • wp-admin/install.php

     
    130130                        <p><?php _e( 'Double-check your email address before continuing.' ); ?></p></td>
    131131                </tr>
    132132                <tr>
     133                        <th scope="row"><label for="blog_public"><?php _e( 'Privacy' ); ?></label></th>
    133134                        <td colspan="2"><label><input type="checkbox" name="blog_public" value="1" <?php checked( $blog_public ); ?> /> <?php _e( 'Allow my site to appear in search engines like Google and Technorati.' ); ?></label></td>
    134135                </tr>
    135136        </table>
     
    220221
    221222<p><?php _e( 'WordPress has been installed. Were you expecting more steps? Sorry to disappoint.' ); ?></p>
    222223
    223 <table class="form-table">
     224<table class="form-table install-success">
    224225        <tr>
    225226                <th><?php _e( 'Username' ); ?></th>
    226                 <td><code><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></code></td>
     227                <td><?php echo esc_html( sanitize_user( $user_name, true ) ); ?></td>
    227228        </tr>
    228229        <tr>
    229230                <th><?php _e( 'Password' ); ?></th>