WordPress.org

Make WordPress Core

Changeset 8061


Ignore:
Timestamp:
06/08/2008 04:56:00 PM (12 years ago)
Author:
ryan
Message:

Don't forget to echo. Props DD32. fixes #7107 see #7001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r8058 r8061  
    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>
     
    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
     
    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>
Note: See TracChangeset for help on using the changeset viewer.