Wouldn’t a better fix for this be to apply a filter in the “WordPress Integration” plugin? I’m not sure the exact syntax but something like:
if (function_exists('wp_head')) {
// or another check to see if WordPress has been included
add_filter('get_topic_title', 'stripslashes');
add_filter('get_post_text', 'stripslashes');
}
To me this is exactly what a WordPress Integration plugin should do.