Changeset 12981
- Timestamp:
- 02/06/2010 04:42:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-login.php
r12948 r12981 209 209 210 210 if ( $message && !wp_mail($user_email, $title, $message) ) 211 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') . '</p>');211 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') ); 212 212 213 213 return true; … … 261 261 262 262 if ( $message && !wp_mail($user->user_email, $title, $message) ) 263 die('<p>' . __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') . '</p>');263 wp_die( __('The e-mail could not be sent.') . "<br />\n" . __('Possible reason: your host may have disabled the mail() function...') ); 264 264 265 265 wp_password_change_notification($user); … … 576 576 ?> 577 577 578 <?php if ( !isset($_GET['checkemail']) || !in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?>579 578 <form name="loginform" id="loginform" action="<?php echo site_url('wp-login.php', 'login_post') ?>" method="post"> 580 579 <p> … … 598 597 </p> 599 598 </form> 600 <?php endif; ?>601 599 602 600 <?php if ( !$interim_login ) { ?> 603 601 <p id="nav"> 604 602 <?php if ( isset($_GET['checkemail']) && in_array( $_GET['checkemail'], array('confirm', 'newpass') ) ) : ?> 605 <?php elseif ( get_option('users_can_register')) : ?>603 <?php elseif ( get_option('users_can_register') ) : ?> 606 604 <a href="<?php echo site_url('wp-login.php?action=register', 'login') ?>"><?php _e('Register') ?></a> | 607 605 <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>
Note: See TracChangeset
for help on using the changeset viewer.