<?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: Remove Unnecessary Code from wp_head</title>
	<atom:link href="http://www.themelab.com/2010/07/11/remove-code-wordpress-header/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/</link>
	<description></description>
	<lastBuildDate>Tue, 10 Jan 2012 20:05:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Chuck Reynolds</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-17910</link>
		<dc:creator>Chuck Reynolds</dc:creator>
		<pubDate>Sat, 03 Sep 2011 06:34:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-17910</guid>
		<description>Just found this post based on the adjacent_posts_rel_link_wp_head - This may work for you and your audience so I think it&#039;s relevant... not trying to spam but...
I threw a handful of functions and cleanup type of stuff that I hope works for everybody&#039;s installs to help clean it up and get rid of some of the crap like the wp_head stuff you&#039;ve posted here.

the plugin, for lack of a better name, is Selfish Fresh Start... selfish because it&#039;s the stuff I feel should be removed from every install lol.

http://wordpress.org/extend/plugins/selfish-fresh-start/</description>
		<content:encoded><![CDATA[<p>Just found this post based on the adjacent_posts_rel_link_wp_head &#8211; This may work for you and your audience so I think it&#8217;s relevant&#8230; not trying to spam but&#8230;<br />
I threw a handful of functions and cleanup type of stuff that I hope works for everybody&#8217;s installs to help clean it up and get rid of some of the crap like the wp_head stuff you&#8217;ve posted here.</p>
<p>the plugin, for lack of a better name, is Selfish Fresh Start&#8230; selfish because it&#8217;s the stuff I feel should be removed from every install lol.</p>
<p><a href="http://wordpress.org/extend/plugins/selfish-fresh-start/" rel="nofollow">http://wordpress.org/extend/plugins/selfish-fresh-start/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Bennett</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15544</link>
		<dc:creator>Bill Bennett</dc:creator>
		<pubDate>Thu, 09 Sep 2010 19:12:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15544</guid>
		<description>Yes, it used wp_head. Is that something I need to worry about?</description>
		<content:encoded><![CDATA[<p>Yes, it used wp_head. Is that something I need to worry about?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leland</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15542</link>
		<dc:creator>Leland</dc:creator>
		<pubDate>Thu, 09 Sep 2010 15:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15542</guid>
		<description>Does your theme use the &lt;code&gt;wp_head&lt;/code&gt; hook? It sounds like that &quot;leave this for stats&quot; bit is hardcoded into your theme&#039;s header.php file.</description>
		<content:encoded><![CDATA[<p>Does your theme use the <code>wp_head</code> hook? It sounds like that &#8220;leave this for stats&#8221; bit is hardcoded into your theme&#8217;s header.php file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billbennettnz</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15532</link>
		<dc:creator>billbennettnz</dc:creator>
		<pubDate>Mon, 06 Sep 2010 21:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15532</guid>
		<description>I don&#039;t have any of these in my header except for the WordPress generator - in my theme this is in a comment with &quot;leave this for stats please&quot;

What&#039;s that about?</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have any of these in my header except for the WordPress generator &#8211; in my theme this is in a comment with &#8220;leave this for stats please&#8221;</p>
<p>What&#8217;s that about?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Nacin</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15284</link>
		<dc:creator>Andrew Nacin</dc:creator>
		<pubDate>Fri, 06 Aug 2010 01:22:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15284</guid>
		<description>We changed its name because we modified (improved) how it works in a backwards incompatible way. Fine for core, as it is an enhancement, but if a plugin was using the original plugin the way core does, we don&#039;t want to alter that functionality.

The new function actually just calls the old function -- http://core.trac.wordpress.org/ticket/10867</description>
		<content:encoded><![CDATA[<p>We changed its name because we modified (improved) how it works in a backwards incompatible way. Fine for core, as it is an enhancement, but if a plugin was using the original plugin the way core does, we don&#8217;t want to alter that functionality.</p>
<p>The new function actually just calls the old function &#8212; <a href="http://core.trac.wordpress.org/ticket/10867" rel="nofollow">http://core.trac.wordpress.org/ticket/10867</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Dunford</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15197</link>
		<dc:creator>Adam Dunford</dc:creator>
		<pubDate>Thu, 22 Jul 2010 13:51:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15197</guid>
		<description>Great stuff, although I should add that there&#039;s been a little change in WP 3.0 with adjacent_posts_rel_link.  It is now adjacent_posts_rel_link_wp_head  (not sure why it changed).

I figured that out by going to /wp-includes/default-filters.php and reversing what was listed in the add_action section.

Any idea why that would have changed?</description>
		<content:encoded><![CDATA[<p>Great stuff, although I should add that there&#8217;s been a little change in WP 3.0 with adjacent_posts_rel_link.  It is now adjacent_posts_rel_link_wp_head  (not sure why it changed).</p>
<p>I figured that out by going to /wp-includes/default-filters.php and reversing what was listed in the add_action section.</p>
<p>Any idea why that would have changed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15194</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Wed, 21 Jul 2010 19:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15194</guid>
		<description>Hi. Do you know how I can remove jquery being called automatically? Obviously it needs to be called in the admin site, but client side, I use mootools, so don&#039;t want two js libraries being called.

Thanks
Tom</description>
		<content:encoded><![CDATA[<p>Hi. Do you know how I can remove jquery being called automatically? Obviously it needs to be called in the admin site, but client side, I use mootools, so don&#8217;t want two js libraries being called.</p>
<p>Thanks<br />
Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leland</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15109</link>
		<dc:creator>Leland</dc:creator>
		<pubDate>Sun, 11 Jul 2010 22:46:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15109</guid>
		<description>Hey Devin, thanks for the comment.  That&#039;s a good point about plugin code.  Especially when plugins like Contact Form 7 automatically load up CSS and JS on every page, when you usually only need it on one (or any page you actually have a contact form).</description>
		<content:encoded><![CDATA[<p>Hey Devin, thanks for the comment.  That&#8217;s a good point about plugin code.  Especially when plugins like Contact Form 7 automatically load up CSS and JS on every page, when you usually only need it on one (or any page you actually have a contact form).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devin</title>
		<link>http://www.themelab.com/2010/07/11/remove-code-wordpress-header/#comment-15108</link>
		<dc:creator>Devin</dc:creator>
		<pubDate>Sun, 11 Jul 2010 21:40:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.themelab.com/?p=2274#comment-15108</guid>
		<description>Excellent post Leland!  The relational links always bothered me a bit but I never looked into how to remove them.

I think it&#039;s also worth mention that a lot of the code added by plugins can also be removed: http://wptheming.com/2009/12/optimize-plug-in-script-wordpress/</description>
		<content:encoded><![CDATA[<p>Excellent post Leland!  The relational links always bothered me a bit but I never looked into how to remove them.</p>
<p>I think it&#8217;s also worth mention that a lot of the code added by plugins can also be removed: <a href="http://wptheming.com/2009/12/optimize-plug-in-script-wordpress/" rel="nofollow">http://wptheming.com/2009/12/optimize-plug-in-script-wordpress/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

