Opened 14 years ago
Closed 13 years ago
#17303 closed defect (bug) (fixed)
wpmu_validate_blog_signup does not check the current site, but the one with id == 1
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | major | Version: | 3.1 |
Component: | Multisite | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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)
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Keywords has-sergey added.