Fix paging numbers. Props ocean90. fixes #13082
git-svn-id: https://develop.svn.wordpress.org/trunk@14188 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f28be2ee6a
commit
74cae0802c
@ -423,8 +423,8 @@ switch ( $action ) {
|
||||
<div class="tablenav-pages">
|
||||
<?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 ),
|
||||
number_format_i18n( min( $pagenum * $per_page, $total ) ),
|
||||
number_format_i18n( $total ),
|
||||
$page_links
|
||||
); echo $page_links_text; ?>
|
||||
</div>
|
||||
|
@ -141,8 +141,8 @@ if ( isset( $_GET['updated'] ) && $_GET['updated'] == 'true' && ! empty( $_GET['
|
||||
<div class="tablenav-pages">
|
||||
<?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 ),
|
||||
number_format_i18n( min( $pagenum * $per_page, $total ) ),
|
||||
number_format_i18n( $total ),
|
||||
$page_links
|
||||
); echo $page_links_text; ?>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user