Opened 16 years ago
Closed 16 years ago
#16053 closed defect (bug) (fixed)
Back to Authors and Users link redirects to the wrong screen
| Reported by: | PeteMall | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Network Admin | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: | multisite |
Description
When you edit a user from network admin site-users screen, the "← Back to Authors and Users" link redirects the user to the network/users.php instead of network/site-users.php?id=x
Attachments (4)
Change History (10)
#5
@
16 years ago
- Keywords commit added; needs-testing removed
Final patch works for me. Modified the URL generation a bit -- network_admin_url() and full esc_url() -- and in user-edit, we're now only adding the wp_http_referer argument if there is one, preventing a URL that looks like:
user-edit.php?user_id=2&updated=true&wp_http_referer
Tested every way possible. Offering commit.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Also, after editing a user on
network/users.phpthe referer is empty: