wpmu_create_blog bug? (5 posts)

  1. hagu81
    Posted 5 years ago #


    I try to use the function wpmu_create_blog multiple times in a script.

    When i run the script, it creates only one blog, the other ones are ignored.

    Is this a bug?

    I use WordPress 3.0

  2. hagu81
    Posted 5 years ago #

    There was a little misstake in my script. But a problem is still there.
    When i try to create multiple blogs in one script, the first blog is being created.
    But on all other blogs it doesn't create an option table, comment table, links table, postmeta table, posts table, etc.
    All blogs are in the 'wp_blogs' table.

    Is there an other way to add multiple blogs with one script? The XML-RPC does not allow to create a blog.

    Thanks for your Help

  3. That function has historically had issues misfiring. Take a look at how other plugins (like this one) have handled it.

  4. hagu81
    Posted 5 years ago #

    I habe found this solution


    This works fine. The line Number of this patch is not the same, becouse it's an older WP version
    Why isn't this fixed on wordpress 3.0?

  5. Note this ticket:

    It;s been punted for future release. It's not considered a deal-breaker or blocker, because even in the regular userbase of what was mu, creating blogs in bulk wasn't used by the majority.

Topic Closed

This topic has been closed to new replies.

About this Topic