<?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: Removing the WordPress Generator meta tag completely</title>
	<atom:link href="http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/</link>
	<description>Writing about my experiences with technology and all different kinds of projects and experiments</description>
	<lastBuildDate>Wed, 08 Feb 2012 03:20:35 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-42335</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Tue, 25 Oct 2011 08:00:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-42335</guid>
		<description>Hi mkvmovies,
updating to the most recent version of WordPress as soon as it is announced stable is the best thing you can do to prevent your blog from being hacked. Obfuscating the version you&#039;re using might help preventing script kiddies from checking out your site but won&#039;t shy away serious crackers. I still recommend to simply hide the generator, if possible.</description>
		<content:encoded><![CDATA[<p>Hi mkvmovies,<br />
updating to the most recent version of WordPress as soon as it is announced stable is the best thing you can do to prevent your blog from being hacked. Obfuscating the version you&#8217;re using might help preventing script kiddies from checking out your site but won&#8217;t shy away serious crackers. I still recommend to simply hide the generator, if possible.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mkvmovies</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-42323</link>
		<dc:creator>mkvmovies</dc:creator>
		<pubDate>Tue, 25 Oct 2011 07:11:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-42323</guid>
		<description>Works fine for me , but will showing a different generator more safe ? As one of my blogs had been hacked recently =( , I am doing everything to prevent my any other blog from being hacked.</description>
		<content:encoded><![CDATA[<p>Works fine for me , but will showing a different generator more safe ? As one of my blogs had been hacked recently =( , I am doing everything to prevent my any other blog from being hacked.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-19999</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Thu, 21 Oct 2010 20:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-19999</guid>
		<description>Hi Dasha,
that&#039;s correct, you just need one of the two where the code you put first is a bit better because it removes the generator information not just from the HTML header of a certain page but from everywhere it might show up, e.g. like in a RSS feed.</description>
		<content:encoded><![CDATA[<p>Hi Dasha,<br />
that&#8217;s correct, you just need one of the two where the code you put first is a bit better because it removes the generator information not just from the HTML header of a certain page but from everywhere it might show up, e.g. like in a RSS feed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dasha</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-19987</link>
		<dc:creator>Dasha</dc:creator>
		<pubDate>Thu, 21 Oct 2010 13:48:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-19987</guid>
		<description>Hello, this is very helpful - thanks!

Just to double check: if I&#039;m using 
&lt;pre lang=&quot;php&quot;&gt;
function rm_generator_filter() { return &#039;&#039;; }
add_filter(&#039;the_generator&#039;, &#039;rm_generator_filter&#039;);
&lt;/pre&gt;
does it mean that I don&#039;t have to have
&lt;pre lang=&quot;php&quot;&gt;
remove_action(&#039;wp_head&#039;, &#039;wp_generator&#039;);
&lt;/pre&gt;

Thanks.</description>
		<content:encoded><![CDATA[<p>Hello, this is very helpful &#8211; thanks!</p>
<p>Just to double check: if I&#8217;m using</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> rm_generator_filter<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span> <span style="color: #b1b100;">return</span> <span style="color: #0000ff;">''</span><span style="color: #339933;">;</span> <span style="color: #009900;">&#125;</span>
add_filter<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'the_generator'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'rm_generator_filter'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>does it mean that I don&#8217;t have to have</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">remove_action<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'wp_head'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'wp_generator'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Artiklar för Wordpress tema- eller plugin-kodaren &#124; jenst.se</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-12483</link>
		<dc:creator>Artiklar för Wordpress tema- eller plugin-kodaren &#124; jenst.se</dc:creator>
		<pubDate>Fri, 08 Jan 2010 16:43:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-12483</guid>
		<description>[...] Removing the Wordpress Generator meta tag completely [...]</description>
		<content:encoded><![CDATA[<p>[...] Removing the WordPress Generator meta tag completely [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-8714</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Wed, 08 Jul 2009 11:59:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-8714</guid>
		<description>Hi V.C.,
I haven&#039;t found the reason for this; it seems to happen on some themes only.
Sorry, but I haven&#039;t got a solution for this at the moment.</description>
		<content:encoded><![CDATA[<p>Hi V.C.,<br />
I haven&#8217;t found the reason for this; it seems to happen on some themes only.<br />
Sorry, but I haven&#8217;t got a solution for this at the moment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V.C</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-8713</link>
		<dc:creator>V.C</dc:creator>
		<pubDate>Wed, 08 Jul 2009 11:42:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-8713</guid>
		<description>When I paste your code into my function.php, others are disapeared and my theme doesn&#039;t work.
What happen?</description>
		<content:encoded><![CDATA[<p>When I paste your code into my function.php, others are disapeared and my theme doesn&#8217;t work.<br />
What happen?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christian Schenk</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-5048</link>
		<dc:creator>Christian Schenk</dc:creator>
		<pubDate>Thu, 05 Feb 2009 07:48:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-5048</guid>
		<description>Hi Bob,
thanks a lot for this hint!</description>
		<content:encoded><![CDATA[<p>Hi Bob,<br />
thanks a lot for this hint!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Soap</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-5044</link>
		<dc:creator>Bob Soap</dc:creator>
		<pubDate>Thu, 05 Feb 2009 03:44:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-5044</guid>
		<description>This is great, thanks!

I&#039;d like to add that when you use an XML sitemap plugin such as Google Sitemap Generator, which depends on that meta tag, the first code will make it break (the sitemap, not the site itself). So better always use your 2nd bit of code and NOT add xml as a file type to that array - like you did. Then it will work just fine.</description>
		<content:encoded><![CDATA[<p>This is great, thanks!</p>
<p>I&#8217;d like to add that when you use an XML sitemap plugin such as Google Sitemap Generator, which depends on that meta tag, the first code will make it break (the sitemap, not the site itself). So better always use your 2nd bit of code and NOT add xml as a file type to that array &#8211; like you did. Then it will work just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://www.christianschenk.org/blog/removing-wordpress-generator-meta-tag-completely/comment-page-1/#comment-4917</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Sat, 31 Jan 2009 21:55:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.christianschenk.org/?p=358#comment-4917</guid>
		<description>Hey, thanks man. Yours is better.</description>
		<content:encoded><![CDATA[<p>Hey, thanks man. Yours is better.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

