Commit 1995dbd9 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Use filtered per_page value in WP_Plugin_Install_List_Table and WP_Theme_Install_List_Table.

props brasofilo.
fixes #25675.
Built from https://develop.svn.wordpress.org/trunk@27221


git-svn-id: https://core.svn.wordpress.org/trunk@27078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent e1b18757
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -129,7 +129,7 @@ class WP_Plugin_Install_List_Table extends WP_List_Table {

		$this->set_pagination_args( array(
			'total_items' => $api->info['results'],
			'per_page' => $per_page,
			'per_page' => $args['per_page'],
		) );
	}

+1 −1
Original line number Diff line number Diff line
@@ -107,7 +107,7 @@ class WP_Theme_Install_List_Table extends WP_Themes_List_Table {

		$this->set_pagination_args( array(
			'total_items' => $api->info['results'],
			'per_page' => $per_page,
			'per_page' => $args['per_page'],
			'infinite_scroll' => true,
		) );
	}