Skip to content

Commit c5308d4

Browse files
Remove URL to default to REQ_URI
1 parent ad74528 commit c5308d4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/wp-admin/includes/class-wp-list-table.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1392,8 +1392,7 @@ public function get_column_count() {
13921392
public function print_column_headers( $with_id = true ) {
13931393
list( $columns, $hidden, $sortable, $primary ) = $this->get_column_info();
13941394

1395-
$current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
1396-
$current_url = remove_query_arg( 'paged', $current_url );
1395+
$current_url = remove_query_arg( 'paged' );
13971396

13981397
// When users click on a column header to sort by other columns.
13991398
if ( isset( $_GET['orderby'] ) ) {

0 commit comments

Comments
 (0)