Fix the "Back to Authors and Users" link on Edit Users page. props SergeyBiryukov. fixes #16275

git-svn-id: http://svn.automattic.com/wordpress/trunk@17324 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2011-01-17 23:36:23 +00:00
parent 75b43ead64
commit df3882ab23
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class WP_Users_List_Table extends WP_List_Table {
if ( get_current_user_id() == $user_object->ID ) {
$edit_link = 'profile.php';
} else {
$edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( esc_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) );
$edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), "user-edit.php?user_id=$user_object->ID" ) );
}
// Set up the hover actions for this user