[wp-trac] [WordPress Trac] #16053: Back to Authors and Users link redirects to the wrong screen

WordPress Trac wp-trac at lists.automattic.com
Sat Jan 1 22:27:36 UTC 2011


#16053: Back to Authors and Users link redirects to the wrong screen
------------------------------+------------------
 Reporter:  PeteMall          |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  3.1
Component:  Network Admin     |     Version:  3.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------
Changes (by nacin):

 * keywords:  has-patch needs-testing => has-patch commit


Comment:

 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16053#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list