<?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 User Favorites: ckovacs</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/ckovacs'>ckovacs</a></link>
		<description>Gravity Support Forums User Favorites: ckovacs</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 08:28:02 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>ckovacs on "Using KSES to clean user input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-kses-to-clean-user-input#post-16024</link>
			<pubDate>Tue, 11 Jan 2011 21:55:49 +0000</pubDate>
			<dc:creator>ckovacs</dc:creator>
			<guid isPermaLink="false">16024@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, David. I'll have a bash with that.&#60;/p&#62;
&#60;p&#62;adcstudio, as I understand it, if the post data is going in to the default Wordpress fields (like content or title), it's going to be automatically filtered by WP.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adcSTUDIO on "Using KSES to clean user input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-kses-to-clean-user-input#post-16015</link>
			<pubDate>Tue, 11 Jan 2011 20:14:10 +0000</pubDate>
			<dc:creator>adcSTUDIO</dc:creator>
			<guid isPermaLink="false">16015@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do all fields need to be kses'd or sanitized like that, or does GravityForms handle some? I haven't been filtering my post fields, or for example, an Address Field that I add to meta data. I haven't gone live yet, so do I need to sanitize everything, or perhaps just the meta data?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Using KSES to clean user input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-kses-to-clean-user-input#post-16009</link>
			<pubDate>Tue, 11 Jan 2011 19:02:45 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16009@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's a general idea of how to do this (notes in the code sample):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1450360&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1450360&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ckovacs on "Using KSES to clean user input"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-kses-to-clean-user-input#post-15937</link>
			<pubDate>Tue, 11 Jan 2011 01:16:15 +0000</pubDate>
			<dc:creator>ckovacs</dc:creator>
			<guid isPermaLink="false">15937@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey guys, &#60;/p&#62;
&#60;p&#62;I've been struggling with finding the best way to clean user-contributed posts on submit, for security purposes. Posting with the form will only be available for logged-in users.&#60;/p&#62;
&#60;p&#62;Basically, I've got a few custom fields in addition to the normal title/content that is being created on form submit, and I want to make sure that neither malicious users nor bots can inject any Bad Code or tags.&#60;/p&#62;
&#60;p&#62;My thinking is that the best way to do this is to leverage KSES (&#60;a href=&#34;http://ottopress.com/2010/wp-quickie-kses/&#34; rel=&#34;nofollow&#34;&#62;see examples here&#60;/a&#62;) to do so, using a filter. As far as I can figure out, this&#60;/p&#62;
&#60;p&#62;&#60;code&#62;add_filter(&#38;#39;custom_field_content&#38;#39;,&#38;#39;wp_filter_kses&#38;#39;);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;would be the way to go, but the next step -- actually applying that filter to the three custom fields that users will be filling in on the gravity form -- is where I get a little lost. I understand I need a custom function in functions.php -- I'm reasonably capable with that sort of thing -- but hooks and filters still mystify me a bit.&#60;/p&#62;
&#60;p&#62;Any help would be much appreciated. I'm pretty sure it's not all that hard, but my I can't quite get my head around it.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
