Changeset 7551

Show
Ignore:
Timestamp:
03/27/08 20:10:29 (5 months ago)
Author:
ryan
Message:

Remove unanchored string replacement. Props nh7a. fixes #6423

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-includes/classes.php

    r7520 r7551  
    7373            $self = trim($self, '/'); 
    7474            $self = preg_replace("|^$home_path|", '', $self); 
    75             $self = str_replace($home_path, '', $self); 
    7675            $self = trim($self, '/'); 
    7776