Make WordPress Core

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: ocean90's profile ocean90 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&#8211;%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)

13082.patch (1.3 KB) - added by ocean90 15 years ago.

Download all attachments as: .zip

Change History (2)

@ocean90
15 years ago

#1 @ocean90
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.