Skip to:
Content

bbPress.org

Changeset 1265


Ignore:
Timestamp:
03/10/2008 07:24:27 PM (18 years ago)
Author:
mdawaffe
Message:

don't trim subdirs and files off of top dir in bb_basename(). With this change, user#subdir/plugin.php is the same token we use everywhere for branches/0.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8/bb-includes/functions.php

    r1247 r1265  
    24052405    $file = preg_replace('|/+|','/', $file);
    24062406    $file = preg_replace('|^.*' . preg_quote($directory, '|') . '|', $type . '#', $file);
    2407     $file = preg_replace('|/+.*|', '', $file);
    24082407    return $file;
    24092408}
Note: See TracChangeset for help on using the changeset viewer.