Opened 15 years ago
Closed 15 years ago
#16053 closed defect (bug) (fixed)
Back to Authors and Users link redirects to the wrong screen
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 3.1 | Priority: | normal |
| Severity: | normal | Version: | 3.1 |
| Component: | Network Admin | Keywords: | has-patch commit |
| Focuses: | multisite | Cc: |
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
@
15 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.
Also, after editing a user on
network/users.phpthe referer is empty: