WordPress.org

Make WordPress Core

Ticket #16093: 16093.patch

File 16093.patch, 558 bytes (added by SergeyBiryukov, 3 years ago)
  • wp-includes/query.php

     
    20382038                // If a search pattern is specified, load the posts that match 
    20392039                if ( !empty($q['s']) ) { 
    20402040                        // added slashes screw with quote grouping when done early, so done later 
    2041                         $q['s'] = stripslashes($q['s']); 
     2041                        $q['s'] = urldecode( stripslashes($q['s']) ); 
    20422042                        if ( !empty($q['sentence']) ) { 
    20432043                                $q['search_terms'] = array($q['s']); 
    20442044                        } else {