Greeting,
am having an issue with my SMF 2.0.15 forum.
words with appostrophe get a slash after posting. And each time i refresh the post, a slash is added
Quotei'll see
Quoteafter posting ; i\'ll see
Quoteafter modifying; i\\'ll see
Please help :)
Quote from: Illori on February 06, 2018, 04:45:46 PM
are you using SMF 2.1 or SMF 2.0.15?
Greeting,
I downloaded the 2.0.15 version.
Finally found the happen !
For some reason, I load a word press environment into my index.template.php before the function template_body_above()
Quoterequire_once('../wp-blog-header.php');
I did try load it into the function function template_body_above(), and '\ is removed.
To resume = '\ Issue !
Quote
require_once('../wp-blog-header.php');
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings, $wpdb;
}
To resume = ' Works !
Quote
function template_body_above()
{
require_once('../wp-blog-header.php');
global $context, $settings, $options, $scripturl, $txt, $modSettings, $wpdb;
}