Opened 13 years ago
Closed 13 years ago
#18047 closed enhancement (fixed)
Add edit link to confirmation page for new network site
Reported by: | vegasgeek | Owned by: | PeteMall |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Network Admin | Keywords: | has-patch commit |
Focuses: | multisite | Cc: |
Description
Screen: Network Admin -> Sites -> Add New
After completing the form to create a new site on a network install, I think it would be handy to have an "Edit new site" link that takes the admin directly to /network/site-info.php?id=[NewSiteID]
Attachments (2)
Change History (9)
#2
@
13 years ago
- Keywords has-patch added
Based on SergeyBiryukov's patch for #17313, I added an additional link directly to the edit site page.
#3
@
13 years ago
- Milestone changed from Awaiting Review to 3.3
- Owner set to PeteMall
- Status changed from new to assigned
- Type changed from feature request to enhancement
+1. $_GETsite_id? will need absint() before going directly into a URL parameter. XSS hole otherwise.
Probably fine as id
rather than site_id
.
The 'or' isn't translatable. Probably better to do this:
sprintf( __( 'Site added. <a href="%1$s">Visit Dashboard</a> or <a href="%2$s">Edit Site</a>' ), first link, second link )
#5
in reply to:
↑ 4
@
13 years ago
Replying to SergeyBiryukov:
18047.2.patch includes the suggestions.
I tested this locally and it works like a charm. Thanks, Nacin/Sergey!
Related: #17313