Changeset 1315

Show
Ignore:
Timestamp:
05/27/08 10:21:38 (3 months ago)
Author:
donncha
Message:

Merged out code, fixes #535 (again), props chmac

Files:

Legend:

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

    r1218 r1315  
    450450        $file = preg_replace('|/+|','/', $file); // remove any duplicate slash 
    451451        $file = preg_replace('|^.*/' . PLUGINDIR . '/|','',$file); // get relative path from plugins dir 
     452        $file = preg_replace('|^.*/' . MUPLUGINDIR . '/|','',$file); // get relative path from plugins dir 
    452453        return $file; 
    453454}