Hey peeps.
Ive done some searching on this and everything i found applied to versions prior to 3.0.
i tried their advice anyway and couldnt get it to work.
anyone know why its doing this? i am using this theme on several other sites and not experiencing this problem.
You could test to see if magic_quotes_gpc is on by placing this in your footer.php file just ahead of the closing </body> tag:
<?php
if (get_magic_quotes_gpc())
{
echo '<p>Magic Quotes is on.</p>';
}
else
{
echo '<p>Magic Quotes is off.</p>';
}
?>
Can you take a look at the post text in the database using phpMyAdmin or something? If you see slashes when viewing the post content, that is an indication that something is being double escaped somewhere. Are you using any plugins or applying any filters to content before it is being place into the database or being displayed, or are you manually escaping anything?
If you made sure magic_quotes_gpc is set to off (I turned it on and tested it and it had no impact on my setup), then did you try reverting to the default theme and disabling all plugins? If you can, revert to the default theme, turn off all your plugins, try making a test post with plenty of apostrophes, and then see if the slashes are there on output. A search reveals you are not the only one who has had this problem with Wordpress, and it is difficult to find a cause. So, if it isn’t the theme you are using causing this then we can narrow it down to your server’s configuration. Just give it a try and report back.
You may be using the same theme as on other sites, but is everything exactly the same? Are you using plugins? In the theme you are having trouble with, is there any code in the functions.php file that adds or strips slashes?
Now that you know your theme is tinkering with slashes, you are going to have to hunt around and try to find the source. Since this is a premium theme, your best bet is to ask the company that created it.