WordPress.org

Make WordPress Core

Ticket #13369: wp-signup.php.diff

File wp-signup.php.diff, 1.9 KB (added by snumb130, 8 years ago)

Patch to wp-signup.php to fix html5 validation errors when user logged in.

  • wp-signup.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: C:\wamp\www\wpsvn
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    9595        <?php if ( $errmsg = $errors->get_error_message('blog_title') ) { ?>
    9696                <p class="error"><?php echo $errmsg ?></p>
    9797        <?php }
    98         echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" /></p>';
     98        echo '<input name="blog_title" type="text" id="blog_title" value="'.esc_attr($blog_title).'" />';
    9999        ?>
    100100
    101101        <div id="privacy">
    102102        <p class="privacy-intro">
    103103            <label for="blog_public_on"><?php _e('Privacy:') ?></label>
    104104            <?php _e('Allow my site to appear in search engines like Google, Technorati, and in public listings around this network.'); ?>
     105                                </p>
    105106            <div style="clear:both;"></div>
     107        <p>
    106108            <label class="checkbox" for="blog_public_on">
    107109                <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 } ?> />
    108110                <strong><?php _e( 'Yes' ); ?></strong>
     
    178180        if ( !empty($blogs) ) { ?>
    179181                <p>
    180182                        <?php _e( 'Sites you are already a member of:' ) ?>
     183                </p>
    181184                        <ul>
    182185                                <?php foreach ( $blogs as $blog ) {
    183186                                        $home_url = get_home_url( $blog->userblog_id );
    184187                                        echo '<li><a href="' . esc_url( $home_url ) . '">' . $home_url . '</a></li>';
    185188                                } ?>
    186189                        </ul>
    187                 </p>
     190               
    188191        <?php } ?>
    189192
    190193        <p><?php _e( 'If you&#8217;re not going to use a great site domain, leave it for a new user. Now have at it!' ) ?></p>