Ticket #4527: password-reset-simplify-r5751.patch
File password-reset-simplify-r5751.patch, 1.4 KB (added by , 18 years ago) |
---|
-
wp-login.php
345 345 ?> 346 346 347 347 <form name="loginform" id="loginform" action="wp-login.php" method="post"> 348 <?php if ( !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 348 349 <p> 349 350 <label><?php _e('Username:') ?><br /> 350 351 <input type="text" name="log" id="user_login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" size="20" tabindex="10" /></label> … … 360 361 <input type="hidden" name="redirect_to" value="<?php echo attribute_escape($redirect_to); ?>" /> 361 362 </p> 362 363 </form> 364 <?php endif; ?> 363 365 </div> 364 366 365 367 <ul> 366 <?php if (get_option('users_can_register')) : ?> 368 <?php if ( in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 369 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li> 370 <?php elseif (get_option('users_can_register')) : ?> 367 371 <li><a href="<?php bloginfo('wpurl'); ?>/wp-login.php?action=register"><?php _e('Register') ?></a></li> 368 372 <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> 369 373 <li><a href="<?php bloginfo('url'); ?>/" title="<?php _e('Are you lost?') ?>"><?php printf(__('Back to %s'), get_bloginfo('title')); ?></a></li>