WordPress.org

Make WordPress Core

Ticket #19097: wp-login.php.2.patch

File wp-login.php.2.patch, 1.5 KB (added by bainternet, 7 years ago)

refreshed patch to 3.5

  • wp-login.php

     
    448448<p id="nav">
    449449<a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e('Log in') ?></a>
    450450<?php if ( get_option( 'users_can_register' ) ) : ?>
    451  | <a href="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login' ) ); ?>"><?php _e( 'Register' ); ?></a>
     451 | <?php wp_register('', ''); ?>
    452452<?php endif; ?>
    453453</p>
    454454
     
    507507<p id="nav">
    508508<a href="<?php echo esc_url( wp_login_url() ); ?>"><?php _e( 'Log in' ); ?></a>
    509509<?php if ( get_option( 'users_can_register' ) ) : ?>
    510  | <a href="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login' ) ); ?>"><?php _e( 'Register' ); ?></a>
     510 | <?php wp_register('', ''); ?>
    511511<?php endif; ?>
    512512</p>
    513513
     
    706706<p id="nav">
    707707<?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    708708<?php elseif ( get_option('users_can_register') ) : ?>
    709 <a href="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login' ) ); ?>"><?php _e( 'Register' ); ?></a> |
     709<?php wp_register('', ''); ?> |
    710710<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a>
    711711<?php else : ?>
    712712<a href="<?php echo esc_url( wp_lostpassword_url() ); ?>" title="<?php esc_attr_e( 'Password Lost and Found' ); ?>"><?php _e( 'Lost your password?' ); ?></a>