WordPress.org

Make WordPress Core

Ticket #16275: 16275.patch

File 16275.patch, 772 bytes (added by SergeyBiryukov, 4 years ago)
  • wp-admin/includes/class-wp-users-list-table.php

     
    229229                        if ( get_current_user_id() == $user_object->ID ) { 
    230230                                $edit_link = 'profile.php'; 
    231231                        } else { 
    232                                 $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" ) ); 
     232                                $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), "user-edit.php?user_id=$user_object->ID" ) ); 
    233233                        } 
    234234 
    235235                        // Set up the hover actions for this user