Make WordPress Core


Ignore:
Timestamp:
01/26/2011 09:56:17 AM (14 years ago)
Author:
westi
Message:

Don't redirect continually on empty search results pages. Fixes #16357 props garyc40

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/users.php

    r17361 r17366  
    2222$total_pages = $wp_list_table->get_pagination_arg( 'total_pages' );
    2323
    24 if ( $pagenum > $total_pages ) {
     24if ( $pagenum > $total_pages && $total_pages > 0 ) {
    2525    wp_redirect( add_query_arg( 'paged', $total_pages ) );
    2626    exit;
Note: See TracChangeset for help on using the changeset viewer.