WordPress.org

Make WordPress Core


Ignore:
Timestamp:
04/22/2010 05:59:21 PM (12 years ago)
Author:
ryan
Message:

Fix paging numbers. Props ocean90. fixes #13082

File:
1 edited

Legend:

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

    r14039 r14188  
    142142            <?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s&#8211;%s of %s' ) . '</span>%s',
    143143            number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ),
    144             number_format_i18n( min( $pagenum * $per_page, $num_pages ) ),
    145             number_format_i18n( $num_pages ),
     144            number_format_i18n( min( $pagenum * $per_page, $total ) ),
     145            number_format_i18n( $total ),
    146146            $page_links
    147147            ); echo $page_links_text; ?>
Note: See TracChangeset for help on using the changeset viewer.