Opened 15 years ago
Closed 15 years ago
#13082 closed defect (bug) (fixed)
Wrong variable for page_links_text in ms-sites and ms-users
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | has-patch |
Focuses: | Cc: |
Description
<?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s', number_format_i18n( ( $pagenum - 1 ) * $per_page + 1 ), number_format_i18n( min( $pagenum * $per_page, $num_pages) ), number_format_i18n( $num_pages), $page_links ); echo $page_links_text; ?>
Instead of $num_pages it should be $total.
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
[14188]