[wp-trac] Re: [WordPress Trac] #2962: "Resetting" a blog and re-running install.php does not work

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 21 17:22:23 GMT 2006


#2962: "Resetting" a blog and re-running install.php does not work
----------------------------+-----------------------------------------------
 Reporter:  RuddO           |        Owner:  anonymous
     Type:  defect          |       Status:  reopened 
 Priority:  normal          |    Milestone:  2.0.4    
Component:  Administration  |      Version:  2.0.3    
 Severity:  major           |   Resolution:           
 Keywords:                  |  
----------------------------+-----------------------------------------------
Comment (by RuddO):

 Just for completeness, this is the behavior I'd expect.

 If, upon install.php, WP is going to insert an admin user with an ID of 1,
 it should use the same fixed ID for all tables which have user_ID as a
 foreign key.

 ALTERNATIVELY, it could also insert the admin user whie letting the
 database generate the ID key via autoincrement, and then retrieving and
 using the autoincremented ID *everywhere* else.

 Both courses of action would also let me DELETE FROM instead of TRUNCATE.

 But the currently implemented "middle ground" behavior is clearly wrong.

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


More information about the wp-trac mailing list