Opened 14 years ago
Closed 14 years ago
#15525 closed defect (bug) (fixed)
Use network/update-core.php and redirect to /network/ if it's necessary
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.1 | Priority: | normal |
Severity: | normal | Version: | 3.1 |
Component: | Network Admin | Keywords: | |
Focuses: | multisite | Cc: |
Description
Title is enough.
Attachments (4)
Change History (14)
#2
@
14 years ago
- Component changed from Upgrade/Install to Network Admin
- Owner set to ocean90
- Status changed from new to accepted
- Summary changed from Use network/update-core.php in Multisite to Use network/update-core.php and redirect to /network/ if it's necessary
#3
@
14 years ago
15525.2.patch is a first pass for nacin's point. PeteMall is also working on it, maybe he has a better idea.
#5
@
14 years ago
15525.3.patch includes the redirection, the link change to network/update-core.php and removes the editor links from the site admin menu if it's multisite.
Note: See
TracTickets for help on using
tickets.
That looks good.
Thinking we should do an audit for files that should redirect to /network/ when running multisite. Otherwise is_network_admin() would return false and plugins (and potentially core) may get confused.
This file would be one of them. It's a simple
is_multisite() && ! is_network_admin()
check.