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:
ryan 2011-06-01 16:03:41 +00:00
parent 1443193079
commit 44a218c639

View File

@ -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(