PDA

View Full Version : get_settings error and fix


wibbler
07-15-2007, 03:04 PM
Hi,

The line:

$link = get_settings('home') . '/wp-content/plugins/wp-bankroll/sponsor.php';

in wp-bankroll.php should be:

$link = get_settings('siteurl') . '/wp-content/plugins/wp-bankroll/sponsor.php';

As "home" doesn't accomodate for installations where the weblog and wordpress are in different locations!