WordPress.org

Make WordPress Core

Ticket #7107: 7107.diff

File 7107.diff, 2.3 KB (added by DD32, 10 years ago)
  • wp-login.php

     
    312312
    313313<p id="nav">
    314314<?php if (get_option('users_can_register')) : ?>
    315 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a> |
    316 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a>
     315<a href="<?php echo site_url('wp-login.php', 'forceable') ?>"><?php _e('Log in') ?></a> |
     316<a href="<?php echo site_url('wp-login.php?action=register') ?>"><?php _e('Register') ?></a>
    317317<?php else : ?>
    318 <a href="<?php bloginfo('wpurl'); ?>/wp-login.php"><?php _e('Log in') ?></a>
     318<a href="<?php echo site_url('wp-login.php', 'forceable') ?>"><?php _e('Log in') ?></a>
    319319<?php endif; ?>
    320320</p>
    321321
     
    380380</form>
    381381
    382382<p id="nav">
    383 <a href="<?php site_url('wp-login.php', 'forceable') ?>"><?php _e('Log in') ?></a> |
    384 <a href="<?php site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
     383<a href="<?php echo site_url('wp-login.php', 'forceable') ?>"><?php _e('Log in') ?></a> |
     384<a href="<?php echo site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
    385385</p>
    386386
    387387</div>
     
    454454<p id="nav">
    455455<?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    456456<?php elseif (get_option('users_can_register')) : ?>
    457 <a href="<?php site_url('wp-login.php?action=register') ?>"><?php _e('Register') ?></a> |
    458 <a href="<?php site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
     457<a href="<?php echo site_url('wp-login.php?action=register') ?>"><?php _e('Register') ?></a> |
     458<a href="<?php echo site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
    459459<?php else : ?>
    460 <a href="<?php site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
     460<a href="<?php echo site_url('wp-login.php?action=lostpassword') ?>" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a>
    461461<?php endif; ?>
    462462</p>
    463463