Changeset 3206
- Timestamp:
- 11/23/2005 10:38:25 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/classes.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/classes.php
r3197 r3206 1444 1444 $req_uri = str_replace($home_path, '', $req_uri); 1445 1445 $req_uri = trim($req_uri, '/'); 1446 $pathinfo = str_replace($home_path, '', $pathinfo); 1446 1447 $pathinfo = trim($pathinfo, '/'); 1447 1448 $self = str_replace($home_path, '', $self); … … 1450 1451 // The requested permalink is in $pathinfo for path info requests and 1451 1452 // $req_uri for other requests. 1452 if ( ! empty($pathinfo) && ($wp_rewrite->index != $pathinfo)) {1453 if ( ! empty($pathinfo) && ($wp_rewrite->index != $pathinfo) ) { 1453 1454 $request = $pathinfo; 1454 1455 } else {
Note: See TracChangeset
for help on using the changeset viewer.