Remove unanchored string replacement. Props nh7a. fixes #6423

git-svn-id: https://develop.svn.wordpress.org/trunk@7551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-03-27 20:10:29 +00:00
parent ba75677939
commit 39ee18d8f3
1 changed files with 0 additions and 1 deletions

View File

@ -72,7 +72,6 @@ class WP {
$pathinfo = trim($pathinfo, '/');
$self = trim($self, '/');
$self = preg_replace("|^$home_path|", '', $self);
$self = str_replace($home_path, '', $self);
$self = trim($self, '/');
// The requested permalink is in $pathinfo for path info requests and