WordPress.org

Make WordPress Core

Changeset 18452


Ignore:
Timestamp:
07/21/11 21:04:12 (3 years ago)
Author:
ryan
Message:

Fix redirects for plugin searches containing spaces in the search string. Props SergeyBiryukov. fixes #16548

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/plugins.php

    r17927 r18452  
    2626 
    2727$plugin = isset($_REQUEST['plugin']) ? $_REQUEST['plugin'] : ''; 
    28 $s = isset($_REQUEST['s']) ? $_REQUEST['s'] : ''; 
     28$s = isset($_REQUEST['s']) ? urlencode($_REQUEST['s']) : ''; 
    2929 
    3030// Clean up request URI from temporary args for screen options/paging uri's to work as expected. 
Note: See TracChangeset for help on using the changeset viewer.