Make WordPress Core

Ticket #36201: class-wp-list-table.diff

File class-wp-list-table.diff, 584 bytes (added by grimmdude, 9 years ago)
  • wp-admin/includes/class-wp-list-table.php

     
    764764
    765765                $current = $this->get_pagenum();
    766766
    767                 $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
     767                $current_url = admin_url( basename( $_SERVER['REQUEST_URI'] ) );
    768768
    769769                $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url );
    770770