<?xml version="1.0" encoding="UTF-8"?><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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Allow HTML in WordPress Author Bios</title>
	<atom:link href="http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/</link>
	<description>Web development, graphic design tutorials and daily marketing tips</description>
	<lastBuildDate>Wed, 17 Feb 2010 04:00:49 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PG</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-26171</link>
		<dc:creator>PG</dc:creator>
		<pubDate>Mon, 18 Jan 2010 10:49:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-26171</guid>
		<description>I have just done as suggested and now when I try and edit a user I get a white blank screen.
I took a backup of the file before changing and even putting in the backup file is still bringing up a white screen when trying to edit a user.

Anyone else seen this?</description>
		<content:encoded><![CDATA[<p>I have just done as suggested and now when I try and edit a user I get a white blank screen.<br />
I took a backup of the file before changing and even putting in the backup file is still bringing up a white screen when trying to edit a user.</p>
<p>Anyone else seen this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Barbara15</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25878</link>
		<dc:creator>Barbara15</dc:creator>
		<pubDate>Fri, 23 Oct 2009 13:19:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25878</guid>
		<description>Don&#039;t have time to read the blog daily? ,</description>
		<content:encoded><![CDATA[<p>Don&#8217;t have time to read the blog daily? ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25735</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Wed, 01 Jul 2009 04:20:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25735</guid>
		<description>There is a way, using functions.php as you guessed.  I wrote a short article about using functions.php to &lt;a href=&quot;http://blogingenuity.com/2009/05/15/allow-full-html-in-wordpress-user-bio-description/&quot; rel=&quot;nofollow&quot;&gt;allow full HTML in user bios.&lt;/a&gt;

Credit goes to Zach for spurring the research that lead to that code.

&lt;abbr&gt;&lt;em&gt;Adam’s last blog post... &lt;a href=&quot;http://feedproxy.google.com/~r/BlogIngenuity/~3/AvIYk-749v4/&quot; rel=&quot;nofollow&quot;&gt;Author Exposed Reloaded Plugin - Tonight’s Updates&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>There is a way, using functions.php as you guessed.  I wrote a short article about using functions.php to <a href="http://blogingenuity.com/2009/05/15/allow-full-html-in-wordpress-user-bio-description/" rel="nofollow">allow full HTML in user bios.</a></p>
<p>Credit goes to Zach for spurring the research that lead to that code.</p>
<p><abbr><em>Adam’s last blog post&#8230; <a href="http://feedproxy.google.com/~r/BlogIngenuity/~3/AvIYk-749v4/" rel="nofollow">Author Exposed Reloaded Plugin &#8211; Tonight’s Updates</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Taylor</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25734</link>
		<dc:creator>Taylor</dc:creator>
		<pubDate>Tue, 30 Jun 2009 18:52:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25734</guid>
		<description>I&#039;m not sure this is the best way to fix the problem... when you update wordpress to a new version, for example, registration.php will be replaced and the functionality will revert to stripping tags.

A better way is to use the Wordpress Filter API.  By default, wordpress uses a function called &quot;wp_filter_kses&quot; to strip potentially harmful content out of user descriptions (i.e., to prevent XSS attacks).  You can find this by searching for &#039;pre_user_description&#039; in the file wp-includes/default-filters.php.

You have two options:
1. Completely remove this functionality.  This may be dangerous, but only if you let the general public create wordpress accounts, which it doesn&#039;t look like you do.  To do this, you can add the following to functions.php:

remove_filter(&#039;pre_user_description&#039;, &#039;wp_filter_kses&#039;);

2. Modify the allowed tags to include the ones you want to use.  This will also modify rules for HTML tags in comments.  There is plenty of info about this in google.</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure this is the best way to fix the problem&#8230; when you update wordpress to a new version, for example, registration.php will be replaced and the functionality will revert to stripping tags.</p>
<p>A better way is to use the Wordpress Filter API.  By default, wordpress uses a function called &#8220;wp_filter_kses&#8221; to strip potentially harmful content out of user descriptions (i.e., to prevent XSS attacks).  You can find this by searching for &#8216;pre_user_description&#8217; in the file wp-includes/default-filters.php.</p>
<p>You have two options:<br />
1. Completely remove this functionality.  This may be dangerous, but only if you let the general public create wordpress accounts, which it doesn&#8217;t look like you do.  To do this, you can add the following to functions.php:</p>
<p>remove_filter(&#8217;pre_user_description&#8217;, &#8216;wp_filter_kses&#8217;);</p>
<p>2. Modify the allowed tags to include the ones you want to use.  This will also modify rules for HTML tags in comments.  There is plenty of info about this in google.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jake</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25732</link>
		<dc:creator>Jake</dc:creator>
		<pubDate>Fri, 26 Jun 2009 01:41:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25732</guid>
		<description>I cannot thank you enough!  I lost so much time searching for an answer to this!  Thanks a ton!</description>
		<content:encoded><![CDATA[<p>I cannot thank you enough!  I lost so much time searching for an answer to this!  Thanks a ton!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Raphael</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25713</link>
		<dc:creator>Raphael</dc:creator>
		<pubDate>Sat, 06 Jun 2009 11:03:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25713</guid>
		<description>Thanks for the tip Zach! It really helps me. ;-)

&lt;abbr&gt;&lt;em&gt;Raphael’s last blog post... &lt;a href=&quot;http://www.kalenga.fr/ria/bonne-idee-contourner-loi-evin/2009/06/&quot; rel=&quot;nofollow&quot;&gt;Une bonne idée pour contourner la loi Evin&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the tip Zach! It really helps me. <img src='http://www.zachgraeve.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><abbr><em>Raphael’s last blog post&#8230; <a href="http://www.kalenga.fr/ria/bonne-idee-contourner-loi-evin/2009/06/" rel="nofollow">Une bonne idée pour contourner la loi Evin</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tammy Hart</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25704</link>
		<dc:creator>Tammy Hart</dc:creator>
		<pubDate>Mon, 01 Jun 2009 07:21:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25704</guid>
		<description>is there not a way to accomplish this without editing the core files, like through functions.php or something?

&lt;abbr&gt;&lt;em&gt;Tammy Hart’s last blog post... &lt;a href=&quot;http://feedproxy.google.com/~r/TammyHartDesigns/~3/7ChxOCy40tc/&quot; rel=&quot;nofollow&quot;&gt;WordPress: How to Use Categories as Your Navigation Bar&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>is there not a way to accomplish this without editing the core files, like through functions.php or something?</p>
<p><abbr><em>Tammy Hart’s last blog post&#8230; <a href="http://feedproxy.google.com/~r/TammyHartDesigns/~3/7ChxOCy40tc/" rel="nofollow">WordPress: How to Use Categories as Your Navigation Bar</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zacheos</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25702</link>
		<dc:creator>zacheos</dc:creator>
		<pubDate>Fri, 29 May 2009 19:50:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25702</guid>
		<description>Awesome idea... I had not thought of that!</description>
		<content:encoded><![CDATA[<p>Awesome idea&#8230; I had not thought of that!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sal B</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25701</link>
		<dc:creator>Sal B</dc:creator>
		<pubDate>Fri, 29 May 2009 19:34:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25701</guid>
		<description>Thanks for the post! I was just looking for this solution to embed videos to our authors bios.

&lt;abbr&gt;&lt;em&gt;Sal B’s last blog post... &lt;a href=&quot;http://feedproxy.google.com/~r/mayhemandchaos/~3/JKTTA0f6PIg/the-creative-brain-trust&quot; rel=&quot;nofollow&quot;&gt;The Creative Brain Trust&lt;/a&gt;&lt;/abbr&gt;&lt;/em&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for the post! I was just looking for this solution to embed videos to our authors bios.</p>
<p><abbr><em>Sal B’s last blog post&#8230; <a href="http://feedproxy.google.com/~r/mayhemandchaos/~3/JKTTA0f6PIg/the-creative-brain-trust" rel="nofollow">The Creative Brain Trust</a></em></abbr></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Allow Full HTML in WordPress User Bio Description &#187; BLOG INGENUITY</title>
		<link>http://www.zachgraeve.com/2009/02/18/allow-html-in-wordpress-author-bios/comment-page-1/#comment-25692</link>
		<dc:creator>Allow Full HTML in WordPress User Bio Description &#187; BLOG INGENUITY</dc:creator>
		<pubDate>Fri, 15 May 2009 04:17:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.zachgraeve.com/?p=1578#comment-25692</guid>
		<description>[...] forum responder linked to an off-site solution suggesting that a core WordPress file be manipulated.  As always, every effort should be made to [...]</description>
		<content:encoded><![CDATA[<p>[...] forum responder linked to an off-site solution suggesting that a core WordPress file be manipulated.  As always, every effort should be made to [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
