#16652 closed defect (bug) (fixed)
network_site_url() does not use main site
Reported by: | ryan | Owned by: | |
---|---|---|---|
Milestone: | 3.1.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Network Admin | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
network_site_url() always link to the site domain + path. network/admin.php, however, expects the network admin to be on the main site. This means the main site must be on the site domain + path. Either network_site_url() should point to main site or admin.php should redirect to domain + path rather than the main site.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
I'm leaning toward the network admin being for the main site. It might cause funky URLs, but then you at least know which blog is running in the background (in the case of plugins etc).