WordPress.org

Make WordPress Core

Ticket #35620: 35620.diff

File 35620.diff, 642 bytes (added by EFAREM, 5 years ago)

Remove the update query arg from pagination links

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

     
    766766
    767767                $current_url = set_url_scheme( 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] );
    768768
    769                 $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first' ), $current_url );
     769                $current_url = remove_query_arg( array( 'hotkeys_highlight_last', 'hotkeys_highlight_first', 'update' ), $current_url );
    770770
    771771                $page_links = array();
    772772