WordPress.org

Make WordPress Core

Ticket #14406: 14406.diff

File 14406.diff, 1.2 KB (added by wpmuguru, 8 years ago)
  • wp-login.php

     
    400400<p id="nav">
    401401<?php if (get_option('users_can_register')) : ?>
    402402<a href="<?php echo site_url('wp-login.php', 'login') ?>"><?php _e('Log in') ?></a> |
    403 <a href="<?php echo site_url('wp-login.php?action=register', 'login') ?>"><?php _e('Register') ?></a>
     403<?php wp_register( '', '' ); ?>
    404404<?php else : ?>
    405405<a href="<?php echo site_url('wp-login.php', 'login') ?>"><?php _e('Log in') ?></a>
    406406<?php endif; ?>
     
    612612<p id="nav">
    613613<?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    614614<?php elseif ( get_option('users_can_register') ) : ?>
    615 <a href="<?php echo site_url('wp-login.php?action=register', 'login') ?>"><?php _e('Register') ?></a> |
     615<?php wp_register( '', '' ); ?> |
    616616<a href="<?php echo site_url('wp-login.php?action=lostpassword', 'login') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
    617617<?php else : ?>
    618618<a href="<?php echo site_url('wp-login.php?action=lostpassword', 'login') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>