Opened 15 years ago
Closed 14 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: | larysa | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | Multisite | Version: | 3.1 |
| Severity: | major | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Keywords has-sergey added.