Skip to:

Opened 16 years ago

Closed 16 years ago

#203 closed defect (bug) (fixed)

Directory traversing breaks when buddypress files are symbolically linked.

Reported by: borkweb's profile borkweb Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords: include, directory


The way that a number of files are included (wp-load.php, for example) fails when symbolically linking buddypress from another directory.

Problem code:


This is peppered throughout a number of files. A possible solution would be:

require_once( preg_replace('/(.*)\/wp-content\/.*/', '\1', dirname(FILE)) . '/wp-load.php' );

Change History (1)

#1 @apeatling
16 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.