Re: Add Friend – Error
Whoops. You may have found the last one of these. This is the current line:
require_once( preg_replace('/(.*)/wp-content/.*/', '1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );
This is what it should be:
require_once( preg_replace('%(.*)[/\\]wp-content[/\\].*%', '1', $_SERVER['SCRIPT_FILENAME'] ) . '/wp-load.php' );
I’ll put in a trac ticket. I wonder why I haven’t run across this? I use windows as a dev server.