#12459 closed defect (bug) (fixed)
dashboard / my sites doesn't handle empty database prefixes properly
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | Multisite | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch featured |
| Cc: | jk3us |
Description (last modified by Denis-de-Bernardy)
Original description:
super admin on newly created MS site can't browse dashboard / my sites
It dies with no link: "You must be a member of at least one site to use this page."
Attachments (3)
Change History (13)
- Keywords has-patch added
Denis-de-Bernardy — 3 years ago
Denis-de-Bernardy — 3 years ago
Denis-de-Bernardy — 3 years ago
the third patch additionally fixes a potential security issue in the event a user manages to create arbitrary meta details.
- Description modified (diff)
- Summary changed from super admin on newly created MS site can't browse dashboard / my sites to dashboard / my sites doesn't handle empty database prefixes properly
- Keywords featured added
comment:6
automattor — 3 years ago
r13562 does NOT work. the first check eliminates the root site, because the capabilities meta is called capabilities.
also, you apparently missed the correction to the regex in the 3rd diff.
- Resolution set to fixed
- Status changed from new to closed
I've been running my test install on no prefix since I did that patch and have not encountered any issues.
comment:10
jk3us — 18 months ago
- Cc jk3us added
Support for empty database prefixes is broken by WP 3.3, See this ticket for more information.

the second patch fixes an additional php warning when the blog prefix is an empty string.