<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Gravity Support Forums Topic: HTML causing error in Post Content Template</title>
		<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template</link>
		<description>Gravity Support Forums Topic: HTML causing error in Post Content Template</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 04:48:37 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/html-causing-error-in-post-content-template" rel="self" type="application/rss+xml" />

		<item>
			<title>jaylandry on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20091</link>
			<pubDate>Mon, 07 Mar 2011 17:46:46 +0000</pubDate>
			<dc:creator>jaylandry</dc:creator>
			<guid isPermaLink="false">20091@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl, you're the man! I edited and replaced the functions file, and it is working perfectly.&#60;br /&#62;
Thanks a lot! This is seriously going to help my site!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20077</link>
			<pubDate>Mon, 07 Mar 2011 16:40:11 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20077@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This issue is due to the theme applying stripslashes_deep to the global $_POST variable which themes should not be doing.  This code is in your themes functions.php file at the top and should be removed.  Once you remove it, the functionality will work as expected.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20075</link>
			<pubDate>Mon, 07 Mar 2011 16:26:34 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20075@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is happening because your theme is doing something that it should not be doing on purpose.  It's applying the stripslashes function call to ANYTHING that posts.  This is bad.  Very bad.  Plugins aren't expecting this to happen so it can cause problems.  &#60;/p&#62;
&#60;p&#62;Gravity Forms uses AJAX and utilizes slashes in the code, your theme is stripping out the slashes because it's applying this to all POST actions.  So any form that is submitted, including the form editor.  This is bad because your theme is assuming it's all right to globally do this, when it is not.&#60;/p&#62;
&#60;p&#62;The code is in your themes functions.php at the top.  It looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if ( get_magic_quotes_gpc() ) {
    $_POST      = array_map( &#38;#39;stripslashes_deep&#38;#39;, $_POST );
    $_GET       = array_map( &#38;#39;stripslashes_deep&#38;#39;, $_GET );
    $_COOKIE    = array_map( &#38;#39;stripslashes_deep&#38;#39;, $_COOKIE );
    $_REQUEST   = array_map( &#38;#39;stripslashes_deep&#38;#39;, $_REQUEST );
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I would suggest removing that code and testing your theme.  They shouldn't be doing this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jaylandry on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20070</link>
			<pubDate>Mon, 07 Mar 2011 15:46:41 +0000</pubDate>
			<dc:creator>jaylandry</dc:creator>
			<guid isPermaLink="false">20070@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I sent the info over the Contact Us form.&#60;br /&#62;
Thanks for your help, Carl.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20053</link>
			<pubDate>Mon, 07 Mar 2011 13:19:04 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">20053@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This could be a mod_security issue.  Can you send us a WordPress admin login for this site via our Contact Us form and reference this forum post so we can take a look and see whats going on?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jaylandry on "HTML causing error in Post Content Template"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/html-causing-error-in-post-content-template#post-20031</link>
			<pubDate>Mon, 07 Mar 2011 11:53:43 +0000</pubDate>
			<dc:creator>jaylandry</dc:creator>
			<guid isPermaLink="false">20031@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Great plugin, but I'm having a problem with the Post Content Template. It allows simple tags like b and i, but whenever I try to add anything like href, img src, or any style tags at all, it tells me there was an error and it couldn't be saved. I have deactivated all my plugins but it hasn't helped. My GF and WP are up to date.&#60;/p&#62;
&#60;p&#62;Any ideas why this is happening?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
