#32934 closed defect (bug) (fixed)
Network Admin: Avoid notice when visiting `network/site-*` URLs for a previously deleted site
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.3 | Priority: | normal |
| Severity: | normal | Version: | 3.1 |
| Component: | Networks and Sites | Keywords: | has-patch |
| Focuses: | multisite | Cc: |
Description
Each of the 4 edit site pages (info, users, themes, settings) will throw a notice if the requested site does not exist because $details is not populated to provide $details->site_id when checking user capabilities.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
The attached 32934.diff checks for a positive
get_blog_details()return and errors with "This site does not exist." if not valid.Does that error message make sense?