Hello,
I'm in the process of creating my theme. I am having trouble with the option input and textarea fields. Here is my code:
<?php
if(get_option($value['id']) != '')
{
echo stripslashes(get_option($value['id']));
}
else
{
echo (stripslashes($value['std']));
}
?>
Unfortunatley, this is not stripping the slashes! The slashes are still appearing. So if the user typed in <div id="foo">bar</div> it would add escape slashes before the quote marks.
Any reason why my stripslashes() function is being ignored?
Thank you.