Make WordPress Core

Ticket #40361: 40361.patch

File 40361.patch, 3.6 KB (added by allisonplus, 7 years ago)

converts spaces to tabs, extracts <ul> from within <p>

  • wp-signup.php

     
    169169        <?php endif; // Languages. ?>
    170170
    171171        <div id="privacy">
    172         <p class="privacy-intro">
    173             <label for="blog_public_on"><?php _e('Privacy:') ?></label>
    174             <?php _e( 'Allow search engines to index this site.' ); ?>
    175             <br style="clear:both" />
    176             <label class="checkbox" for="blog_public_on">
    177                 <input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if ( !isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
    178                 <strong><?php _e( 'Yes' ); ?></strong>
    179             </label>
    180             <label class="checkbox" for="blog_public_off">
    181                 <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
    182                 <strong><?php _e( 'No' ); ?></strong>
    183             </label>
    184         </p>
     172                <p class="privacy-intro">
     173                        <label for="blog_public_on"><?php _e('Privacy:') ?></label>
     174                        <?php _e( 'Allow search engines to index this site.' ); ?>
     175                        <br style="clear:both" />
     176                        <label class="checkbox" for="blog_public_on">
     177                                <input type="radio" id="blog_public_on" name="blog_public" value="1" <?php if ( !isset( $_POST['blog_public'] ) || $_POST['blog_public'] == '1' ) { ?>checked="checked"<?php } ?> />
     178                                <strong><?php _e( 'Yes' ); ?></strong>
     179                        </label>
     180                        <label class="checkbox" for="blog_public_off">
     181                                <input type="radio" id="blog_public_off" name="blog_public" value="0" <?php if ( isset( $_POST['blog_public'] ) && $_POST['blog_public'] == '0' ) { ?>checked="checked"<?php } ?> />
     182                                <strong><?php _e( 'No' ); ?></strong>
     183                        </label>
     184                </p>
    185185        </div>
    186186
    187187        <?php
     
    754754        printf( __( 'Check your inbox at %s and click the link given.' ), '<strong>' . $user_email . '</strong>' ); ?></p>
    755755        <p><?php _e( 'If you do not activate your site within two days, you will have to sign up again.' ); ?></p>
    756756        <h2><?php _e( 'Still waiting for your email?' ); ?></h2>
    757         <p>
    758                 <?php _e( 'If you haven&#8217;t received your email yet, there are a number of things you can do:' ) ?>
    759                 <ul id="noemail-tips">
    760                         <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ) ?></strong></p></li>
    761                         <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li>
    762                         <li><?php
    763                                 /* translators: %s: email address */
    764                                 printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.' ), $user_email );
    765                         ?></li>
    766                 </ul>
    767         </p>
     757        <p><?php _e( 'If you haven&#8217;t received your email yet, there are a number of things you can do:' ) ?></p>
     758        <ul id="noemail-tips">
     759                <li><p><strong><?php _e( 'Wait a little longer. Sometimes delivery of email can be delayed by processes outside of our control.' ) ?></strong></p></li>
     760                <li><p><?php _e( 'Check the junk or spam folder of your email client. Sometime emails wind up there by mistake.' ) ?></p></li>
     761                <li><?php
     762                        /* translators: %s: email address */
     763                        printf( __( 'Have you entered your email correctly? You have entered %s, if it&#8217;s incorrect, you will not receive your email.' ), $user_email );
     764                ?></li>
     765        </ul>
    768766        <?php
    769767        /** This action is documented in wp-signup.php */
    770768        do_action( 'signup_finished' );