[wpmu-trac] [WordPress MU Trac] #726: Respect site_id when creating
blog.
WordPress MU Trac
wpmu-trac at lists.automattic.com
Sun Aug 24 19:55:59 GMT 2008
#726: Respect site_id when creating blog.
------------------------+---------------------------------------------------
Reporter: lunabyte | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: WPMU 2.0
Component: component1 | Version: 2.0
Severity: normal | Keywords: site_id, create blog, has patch
------------------------+---------------------------------------------------
When activating, and thus creating, a blog, the site_id is not taken into
account in wpmu_activate_signup when calling wpmu_create_blog, which
assumes site_id = 1 when no site id is passed.
Fix: pass wpdb->siteid when calling wpmu_create_blog from within
wpmu_activate_signup.
Patch attached.
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/726>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list