Make WordPress Core

Ticket #13961: 13961.2.patch

File 13961.2.patch, 508 bytes (added by SergeyBiryukov, 13 years ago)
  • wp-includes/query.php

     
    21662166                if ( !empty($q['s']) ) {
    21672167                        // added slashes screw with quote grouping when done early, so done later
    21682168                        $q['s'] = stripslashes($q['s']);
     2169                        if ( empty( $_GET['s'] ) )
     2170                                $q['s'] = urldecode($q['s']);
    21692171                        if ( !empty($q['sentence']) ) {
    21702172                                $q['search_terms'] = array($q['s']);
    21712173                        } else {