Merge pull request #8284 from justinshreve/api-key-pagination

Round total_pages calculation up in the API keys list table.
This commit is contained in:
Mike Jolley 2015-06-04 10:27:51 +01:00
commit 2a122feb5c
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ class WC_Admin_API_Keys_Table_List extends WP_List_Table {
$this->set_pagination_args( array(
'total_items' => $count,
'per_page' => $per_page,
'total_pages' => $count / $per_page
'total_pages' => ceil( $count / $per_page )
) );
}
}