mirror of
git://develop.git.wordpress.org/
synced 2025-02-27 10:02:43 +01:00
Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548
git-svn-id: https://develop.svn.wordpress.org/trunk@18452 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0689b1b8a0
commit
1b135d38f3
@ -25,7 +25,7 @@ $pagenum = $wp_list_table->get_pagenum();
|
||||
$action = $wp_list_table->current_action();
|
||||
|
||||
$plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : '';
|
||||
$s = isset($_REQUEST['s']) ? $_REQUEST['s'] : '';
|
||||
$s = isset($_REQUEST['s']) ? urlencode($_REQUEST['s']) : '';
|
||||
|
||||
// Clean up request URI from temporary args for screen options/paging uri's to work as expected.
|
||||
$_SERVER['REQUEST_URI'] = remove_query_arg(array('error', 'deleted', 'activate', 'activate-multi', 'deactivate', 'deactivate-multi', '_error_nonce'), $_SERVER['REQUEST_URI']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user