Make WordPress Core

Changeset 7551


Ignore:
Timestamp:
03/27/2008 08:10:29 PM (16 years ago)
Author:
ryan
Message:

Remove unanchored string replacement. Props nh7a. fixes #6423

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.