WordPress.org

Make WordPress Core

Changeset 5800


Ignore:
Timestamp:
07/15/2007 05:50:38 PM (11 years ago)
Author:
ryan
Message:

Password reset usability improvements from tellyworth. fixes #4527

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/wp-admin.css

    r5641 r5800  
    689689    _width: 325px;
    690690    _margin: 0 auto;
     691    height: 200px;
    691692}
    692693
  • trunk/wp-login.php

    r5634 r5800  
    346346
    347347<form name="loginform" id="loginform" action="wp-login.php" method="post">
     348<?php if ( !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
    348349    <p>
    349350        <label><?php _e('Username:') ?><br />
     
    360361        <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" />
    361362    </p>
     363<?php else : ?>
     364    <p>&nbsp;</p>
     365<?php endif; ?>
    362366</form>
    363367</div>
    364368
    365369<ul>
    366 <?php if (get_option('users_can_register')) : ?>
     370<?php if ( in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>
     371    <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>
     372<?php elseif (get_option('users_can_register')) : ?>
    367373    <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li>
    368374    <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=lostpassword" title="<?php _e('Password Lost and Found') ?>"><?php _e('Lost your password?') ?></a></li>
Note: See TracChangeset for help on using the changeset viewer.