Make WordPress Core

Ticket #23631: 23631.2.diff

File 23631.2.diff, 3.2 KB (added by kwight, 11 years ago)
  • wp-signup.php

     
    4646                .mu_register { width: 90%; margin:0 auto; }
    4747                .mu_register form { margin-top: 2em; }
    4848                .mu_register .error { font-weight:700; padding:10px; color:#333333; background:#FFEBE8; border:1px solid #CC0000; }
    49                 .mu_register input[type="submit"],
    50                         .mu_register #blog_title,
    51                         .mu_register #user_email,
    52                         .mu_register #blogname,
    53                         .mu_register #user_name { width:100%; font-size: 24px; margin:5px 0; }
    5449                .mu_register .prefix_address,
    5550                        .mu_register .suffix_address {font-size: 18px;display:inline; }
    5651                .mu_register label { font-weight:700; font-size:15px; display:block; margin:10px 0; }
    5752                .mu_register label.checkbox { display:inline; }
    58                 .mu_register .mu_alert { font-weight:700; padding:10px; color:#333333; background:#ffffe0; border:1px solid #e6db55; }
     53                .mu_register .mu_alert { font-weight:700; padding:10px; color:#333333; background:#ffffe0; border:1px solid #e6db55; margin-top: 2em; }
    5954        </style>
    6055        <?php
    6156}
     
    163158        if ( $errmsg = $errors->get_error_message('user_name') ) {
    164159                echo '<p class="error">'.$errmsg.'</p>';
    165160        }
    166         echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" /><br />';
    167         _e( '(Must be at least 4 characters, letters and numbers only.)' );
     161        echo '<input name="user_name" type="text" id="user_name" value="'. esc_attr($user_name) .'" maxlength="60" />';
    168162        ?>
     163        <p class="mu-instructions"><?php esc_html_e('(Must be at least 4 characters, letters and numbers only.)'); ?></p>
    169164
    170165        <label for="user_email"><?php _e( 'Email&nbsp;Address:' ) ?></label>
    171166        <?php if ( $errmsg = $errors->get_error_message('user_email') ) { ?>
    172167                <p class="error"><?php echo $errmsg ?></p>
    173168        <?php } ?>
    174         <input name="user_email" type="text" id="user_email" value="<?php  echo esc_attr($user_email) ?>" maxlength="200" /><br /><?php _e('We send your registration email to this address. (Double-check your email address before continuing.)') ?>
     169        <input name="user_email" type="text" id="user_email" value="<?php  echo esc_attr($user_email) ?>" maxlength="200" />
     170        <p class="mu-instructions"><?php esc_html_e('We send your registration email to this address. (Double-check your email address before continuing.)'); ?></p>
    175171        <?php
    176172        if ( $errmsg = $errors->get_error_message('generic') ) {
    177173                echo '<p class="error">' . $errmsg . '</p>';
  • wp-content/themes/twentythirteen/style.css

     
    21712171
    21722172
    21732173/**
    2174  * 5.12 Comments
     2174 * 5.12 Comments and Multisite front-end forms
    21752175 * ----------------------------------------------------------------------------
    21762176 */
    21772177
    21782178.comments-title,
    21792179.comment-list,
    21802180#reply-title,
    2181 #respond #commentform {
     2181#respond #commentform,
     2182.mu_register {
    21822183        margin: 0 auto;
    21832184        max-width: 604px;
    21842185        width: 100%;
     
    23722373}
    23732374
    23742375.form-allowed-tags,
    2375 .form-allowed-tags code {
     2376.form-allowed-tags code,
     2377.mu-instructions {
    23762378        color: #7d7b6d;
    23772379        font-size: 12px;
    23782380}