Changeset 19027 for trunk/wp-includes/user.php
- Timestamp:
- 10/20/2011 02:40:11 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/user.php
r19016 r19027 89 89 90 90 if ( !$userdata ) 91 return new WP_Error('invalid_username', sprintf(__('<strong>ERROR</strong>: Invalid username. <a href="%s" title="Password Lost and Found">Lost your password</a>?'), site_url('wp-login.php?action=lostpassword', 'login')));91 return new WP_Error('invalid_username', sprintf(__('<strong>ERROR</strong>: Invalid username. <a href="%s" title="Password Lost and Found">Lost your password</a>?'), wp_lostpassword_url())); 92 92 93 93 if ( is_multisite() ) { … … 110 110 if ( !wp_check_password($password, $userdata->user_pass, $userdata->ID) ) 111 111 return new WP_Error( 'incorrect_password', sprintf( __( '<strong>ERROR</strong>: The password you entered for the username <strong>%1$s</strong> is incorrect. <a href="%2$s" title="Password Lost and Found">Lost your password</a>?' ), 112 $username, site_url( 'wp-login.php?action=lostpassword', 'login') ) );112 $username, wp_lostpassword_url() ) ); 113 113 114 114 $user = new WP_User($userdata->ID);
Note: See TracChangeset
for help on using the changeset viewer.