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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 16 22:11:34 UTC 2011


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

 * cc: zane@… (added)


Comment:

 I think I ran into this same issue recently when attempting to create new
 blogs in a network installation.  I don't know why $wp_queries wasn't
 getting updated to reflect the new blog_id and table prefixes... the
 values inside $wpdb were correct.  I ended up temporarily creating a
 wrapper function around a copy of the table creation statements from
 schema.php so I could get the new blogs set up, but it wasn't something I
 wanted to leave that way.  Notes from the experience are visible in the
 multi-site support forum: https://wordpress.org/support/topic/db-tables-
 for-new-subdomain-site-fail-to-get-created?replies=29

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


More information about the wp-trac mailing list