#5339 closed enhancement (fixed)
Unused $pwd variable in wp_login() function
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | low |
Severity: | minor | Version: | |
Component: | Optimization | Keywords: | |
Focuses: | Cc: |
Description
I was looking the code of wp_login() in wp-includes/pluggable.php and I've seen that there's an unused variable: $pwd on line 305:
303 } else { 304 $error = __('<strong>ERROR</strong>: Incorrect password.'); 305 $pwd = ''; 306 return false; 307 }
Change History (3)
Note: See
TracTickets for help on using
tickets.
Perhaps #2244 should be decided upon too, I think i removed that variable in the patch there too.