WordPress.org

Make WordPress Core

Changeset 18093


Ignore:
Timestamp:
06/01/11 16:03:41 (3 years ago)
Author:
ryan
Message:

Fix paging through plugin search results. Props dd32. fixes #17285

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-plugins-list-table.php

    r17806 r18093  
    2121        if ( $status != $default_status && 'search' != $status ) 
    2222            update_user_meta( get_current_user_id(), 'plugins_last_view', $status ); 
     23 
     24 
     25        if ( isset($_REQUEST['s']) ) 
     26            $_SERVER['REQUEST_URI'] = add_query_arg('s', stripslashes($_REQUEST['s']) ); 
    2327 
    2428        $page = $this->get_pagenum(); 
Note: See TracChangeset for help on using the changeset viewer.