[wp-trac] [WordPress Trac] #12028: wpmu_create_blog() breaks with multiple use

WordPress Trac wp-trac at lists.automattic.com
Wed Oct 5 17:46:52 UTC 2011


#12028: wpmu_create_blog() breaks with multiple use
--------------------------+------------------
 Reporter:  wpmuguru      |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  3.3
Component:  Multisite     |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------

Comment (by ryan):

 Renamed the function to wp_get_db_schema() per IRC discussion.  Added a
 scope arg which is very similar to the one for wpdb::tables().  Grouped
 table SQL by scope.  Changed install_blog() to pass a scope of 'blog' so
 that it no longer uselessly and dangerously sends user and usermeta tables
 through dbDelta() for every blog created.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12028#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list