mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Fix theme pagination. See #14579
git-svn-id: https://develop.svn.wordpress.org/trunk@15577 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9115c76b53
commit
5339a2f2f4
@ -3565,9 +3565,9 @@ class WP_Themes_Table extends WP_List_Table {
|
||||
uksort( $themes, "strnatcasecmp" );
|
||||
|
||||
$per_page = 15;
|
||||
$page = $this->get_pagenum( 'pagenum' );
|
||||
$page = $this->get_pagenum();
|
||||
|
||||
$start = $offset = ( $page - 1 ) * $per_page;
|
||||
$start = ( $page - 1 ) * $per_page;
|
||||
|
||||
$this->items = array_slice( $themes, $start, $per_page );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user