mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Update pagination links on edit-comments when approving/deleting/etc. Hat tip: mdawaffe. Fixes #8584.
git-svn-id: https://develop.svn.wordpress.org/trunk@10204 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -227,9 +227,12 @@ $page_links = paginate_links( array(
|
||||
<div class="tablenav-pages"><?php $page_links_text = sprintf( '<span class="displaying-num">' . __( 'Displaying %s–%s of %s' ) . '</span>%s',
|
||||
number_format_i18n( $start + 1 ),
|
||||
number_format_i18n( min( $page * $comments_per_page, $total ) ),
|
||||
number_format_i18n( $total ),
|
||||
'<span class="total-type-count">' . number_format_i18n( $total ) . '</span>',
|
||||
$page_links
|
||||
); echo $page_links_text; ?></div>
|
||||
<input type="hidden" name="_total" value="<?php echo $total; ?>" />
|
||||
<input type="hidden" name="_per_page" value="<?php echo $comments_per_page; ?>" />
|
||||
<input type="hidden" name="_page" value="<?php echo $page; ?>" />
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="alignleft actions">
|
||||
|
||||
Reference in New Issue
Block a user