Changeset 21208
- Timestamp:
- 07/05/2012 01:50:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp.php
r21163 r21208 165 165 $req_uri = str_replace($pathinfo, '', $req_uri); 166 166 $req_uri = trim($req_uri, '/'); 167 $req_uri = preg_replace("|^$home_path| ", '', $req_uri);167 $req_uri = preg_replace("|^$home_path|i", '', $req_uri); 168 168 $req_uri = trim($req_uri, '/'); 169 169 $pathinfo = trim($pathinfo, '/'); 170 $pathinfo = preg_replace("|^$home_path| ", '', $pathinfo);170 $pathinfo = preg_replace("|^$home_path|i", '', $pathinfo); 171 171 $pathinfo = trim($pathinfo, '/'); 172 172 $self = trim($self, '/'); 173 $self = preg_replace("|^$home_path| ", '', $self);173 $self = preg_replace("|^$home_path|i", '', $self); 174 174 $self = trim($self, '/'); 175 175
Note: See TracChangeset
for help on using the changeset viewer.