[wp-trac] [WordPress Trac] #5339: Unused $pwd variable in wp_login() function

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 11 20:57:13 GMT 2007


#5339: Unused $pwd variable in wp_login() function
--------------------------+-------------------------------------------------
 Reporter:  epper         |       Owner:  anonymous
     Type:  enhancement   |      Status:  new      
 Priority:  low           |   Milestone:  2.3.2    
Component:  Optimization  |     Version:           
 Severity:  minor         |    Keywords:           
--------------------------+-------------------------------------------------
 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             }
 }}}

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5339>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list