The \ (escape) characters are inserted by PHP's magic quotes feature. The script will normally automatically remove these characters, but in some PHP installations the function that indicates whether magic quotes are enabled returns the wrong sense. As they are clearly enabled in this case, to correct this edit your includes/widget.php and look for the following function beginning at line 111:
function widget_posted($text)
{
if (get_magic_quotes_runtime())
{
return stripslashes($text);
}
else
{
return $text;
}
}
...and REPLACE with just:
function widget_posted($text)
{
return stripslashes($text);
}
Then reconfigure the filter and it should work as expected...
Hi Marco,
The \ (escape) characters are inserted by PHP's magic quotes feature. The script will normally automatically remove these characters, but in some PHP installations the function that indicates whether magic quotes are enabled returns the wrong sense. As they are clearly enabled in this case, to correct this edit your includes/widget.php and look for the following function beginning at line 111:
function widget_posted($text)
{
if (get_magic_quotes_runtime())
{
return stripslashes($text);
}
else
{
return $text;
}
}
...and REPLACE with just:
function widget_posted($text)
{
return stripslashes($text);
}
Then reconfigure the filter and it should work as expected...
Cheers,
David.
--
PriceTapestry.com