mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Fix paging through plugin search results. Props dd32. fixes #17285
git-svn-id: http://svn.automattic.com/wordpress/trunk@18093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1443193079
commit
44a218c639
@ -21,6 +21,10 @@ class WP_Plugins_List_Table extends WP_List_Table {
|
||||
if ( $status != $default_status && 'search' != $status )
|
||||
update_user_meta( get_current_user_id(), 'plugins_last_view', $status );
|
||||
|
||||
|
||||
if ( isset($_REQUEST['s']) )
|
||||
$_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) );
|
||||
|
||||
$page = $this->get_pagenum();
|
||||
|
||||
parent::__construct( array(
|
||||
|
Loading…
Reference in New Issue
Block a user