Don't remember search in last view. see #9527
git-svn-id: http://svn.automattic.com/wordpress/trunk@11055 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
371b5a8f55
commit
db80f0e778
|
@ -26,7 +26,7 @@ if ( empty($default_status) )
|
|||
$status = isset($_REQUEST['plugin_status']) ? $_REQUEST['plugin_status'] : $default_status;
|
||||
if ( !in_array($status, array('all', 'active', 'inactive', 'recent', 'upgrade', 'search')) )
|
||||
$status = 'all';
|
||||
if ( $status != $default_status )
|
||||
if ( $status != $default_status && 'search' != $status )
|
||||
update_usermeta($current_user->ID, 'plugins_last_view', $status);
|
||||
|
||||
$page = isset($_REQUEST['paged']) ? $_REQUEST['paged'] : 1;
|
||||
|
|
Loading…
Reference in New Issue