Opened 16 years ago
Closed 16 years ago
#351 closed defect (bug) (fixed)
require_once(preg_replace()) on windows problem
Reported by: | burtadsit | Owned by: | |
---|---|---|---|
Milestone: | Priority: | major | |
Severity: | Version: | ||
Component: | Keywords: | ||
Cc: |
Description
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' );
Note: See
TracTickets for help on using
tickets.