Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Add Friend – Error


Burt Adsit
Participant

@burtadsit

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.

Skip to toolbar