Ticket #33976: patch.diff
File patch.diff, 1.0 KB (added by , 9 years ago) |
---|
-
src/wp-admin/includes/class-wp-list-table.php
738 738 739 739 $current = $this->get_pagenum(); 740 740 741 $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);741 $current_url = set_url_scheme( site_url( $_SERVER['REQUEST_URI'] ) ); 742 742 743 743 $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url ); 744 744 … … 1019 1019 public function print_column_headers( $with_id = true ) { 1020 1020 list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info(); 1021 1021 1022 $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']);1022 $current_url = set_url_scheme( site_url( $_SERVER['REQUEST_URI'] ) ); 1023 1023 $current_url = remove_query_arg( 'paged', $current_url ); 1024 1024 1025 1025 if ( isset( $_GET['orderby'] ) )