Ticket #16858: 16858.diff
File 16858.diff, 1.1 KB (added by , 13 years ago) |
---|
-
wp-admin/includes/class-wp-list-table.php
475 475 476 476 $current = $this->get_pagenum(); 477 477 478 $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];478 $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ) ); 479 479 480 $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url );481 482 480 $page_links = array(); 483 481 484 482 $disable_first = $disable_last = ''; … … 631 629 632 630 list( $columns, $hidden, $sortable ) = $this->get_column_info(); 633 631 634 $current_url = ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; 635 $current_url = remove_query_arg( 'paged', $current_url ); 632 $current_url = remove_query_arg( 'paged' ); 636 633 637 634 if ( isset( $_GET['orderby'] ) ) 638 635 $current_orderby = $_GET['orderby'];