Opened 15 years ago
Closed 15 years ago
#18047 closed enhancement (fixed)
Add edit link to confirmation page for new network site
| Reported by: | vegasgeek | Owned by: | PeteMall |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Network Admin | Version: | |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | multisite |
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
@
15 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
@
15 years ago
- Milestone Awaiting Review → 3.3
- Owner set to
- Status new → assigned
- Type feature request → 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
@
15 years ago
Replying to SergeyBiryukov:
18047.2.patch includes the suggestions.
I tested this locally and it works like a charm. Thanks, Nacin/Sergey!
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Related: #17313