mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Always show # items text. Props johnbillion. fixes #17260
git-svn-id: https://develop.svn.wordpress.org/trunk@17798 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -528,9 +528,12 @@ class WP_List_Table {
|
||||
'»'
|
||||
);
|
||||
|
||||
$output .= "\n" . join( "\n", $page_links );
|
||||
$output .= "\n<span class='pagination-links'>" . join( "\n", $page_links ) . '</span>';
|
||||
|
||||
$page_class = $total_pages < 2 ? ' one-page' : '';
|
||||
if ( $total_pages )
|
||||
$page_class = $total_pages < 2 ? ' one-page' : '';
|
||||
else
|
||||
$page_class = ' no-pages';
|
||||
|
||||
$this->_pagination = "<div class='tablenav-pages{$page_class}'>$output</div>";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user