[wp-trac] [WordPress Trac] #17303: wpmu_validate_blog_signup does not check the current site, but the one with id == 1

WordPress Trac wp-trac at lists.automattic.com
Mon May 2 13:48:52 UTC 2011


#17303: wpmu_validate_blog_signup does not check the current site, but the one with
id == 1
--------------------------+-----------------------------
 Reporter:  larysa        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Multisite     |    Version:  3.1
 Severity:  major         |   Keywords:  needs-patch
--------------------------+-----------------------------
 default WP blog validation procedure wpmu_validate_blog_signup () only
 checks the first site ( id == 1 and in the case of multisite install skips
 the check for the current main site)

 file: wp-includes/ms-functions.php
 function: wpmu_validate_blog_signup

 calls: domain_exists($mydomain, $path)

 should check: domain_exists($mydomain, $path, $current_site->id)

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


More information about the wp-trac mailing list