WordPress.org

Make WordPress Core

Ticket #3727: classes-2.1.diff

File classes-2.1.diff, 623 bytes (added by Kirin_Lin, 13 years ago)

diff file for 2.1

  • wp-includes/classes.php

     
    5858                        // front.  For path info requests, this leaves us with the requesting
    5959                        // filename, if any.  For 404 requests, this leaves us with the
    6060                        // requested permalink.
    61                         $req_uri = str_replace($pathinfo, '', $req_uri);
     61                        $req_uri = str_replace($pathinfo, '', urldecode($req_uri));
    6262                        $req_uri = trim($req_uri, '/');
    6363                        $req_uri = preg_replace("|^$home_path|", '', $req_uri);
    6464                        $req_uri = trim($req_uri, '/');