Skip to:

Opened 15 years ago

Closed 15 years ago

#351 closed defect (bug) (fixed)

require_once(preg_replace()) on windows problem

Reported by: burtadsit's profile burtadsit Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords:


Last one of these? This one is in bp-core-ajax-handler.php. Line reads:

require_once( preg_replace('/(.*)\/wp-content\/.*/', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );

should read:

require_once( preg_replace('%(.*)[/\\\\]wp-content[/\\\\].*%', '\1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );

Change History (1)

#1 @apeatling
15 years ago

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