[wp-trac] [WordPress Trac] #9569: Installing over existing user table gives misleading instruction

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 17 19:57:22 GMT 2009


#9569: Installing over existing user table gives misleading instruction
-------------------------+--------------------------------------------------
 Reporter:  coffee2code  |       Owner:           
     Type:  enhancement  |      Status:  new      
 Priority:  lowest       |   Milestone:  2.8      
Component:  Upgrade      |     Version:  2.8      
 Severity:  trivial      |    Keywords:  has-patch
-------------------------+--------------------------------------------------
 WordPress properly handles being installed into a database with an
 existing wp_users table (and potentially no other tables).  In this
 situation, instead of generating a random password, WP reports:

 `User already exists. Password inherited.`

 However, just below that, it also reports:

 `Note that password carefully! It is a random password that was generated
 just for you.`

 The latter statement is incorrect in this scenario, and could be
 misleading (and concerning) to the person doing the installation.  Nothing
 is in jeopardy, though.

 Granted, this is a bit of an edge case.  But the fix is trivial (it
 compares the password against the first message listed above).  If the
 message is later changed in one place and not the other, the code will
 just fall back to the currently existing behavior.

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


More information about the wp-trac mailing list