<?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: Disable WordPress Plugins update indicator for inactive plugins</title>
	<atom:link href="http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/</link>
	<description>I'm the Devil in the code!</description>
	<lastBuildDate>Wed, 01 Feb 2012 21:45:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Vertie Trompeter</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-118720</link>
		<dc:creator>Vertie Trompeter</dc:creator>
		<pubDate>Fri, 02 Sep 2011 14:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-118720</guid>
		<description>Hello, my group is just establishing our first website, searching and working out what is needed.</description>
		<content:encoded><![CDATA[<p>Hello, my group is just establishing our first website, searching and working out what is needed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Henry Mugrage</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-77806</link>
		<dc:creator>Henry Mugrage</dc:creator>
		<pubDate>Fri, 28 Jan 2011 19:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-77806</guid>
		<description>This is a very important post, I was looking for this information. Just so you know I discovered your site when I was browsing for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.</description>
		<content:encoded><![CDATA[<p>This is a very important post, I was looking for this information. Just so you know I discovered your site when I was browsing for blogs like mine, so please check out my site sometime and leave me a comment to let me know what you think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gerardo Blakelock</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-71742</link>
		<dc:creator>Gerardo Blakelock</dc:creator>
		<pubDate>Sun, 19 Dec 2010 18:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-71742</guid>
		<description>Julianne Hough, known as much for her Dancing With the Stars gig as for her country music, is achieving new popularity by combining both</description>
		<content:encoded><![CDATA[<p>Julianne Hough, known as much for her Dancing With the Stars gig as for her country music, is achieving new popularity by combining both</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sir Krixalot</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-57995</link>
		<dc:creator>Sir Krixalot</dc:creator>
		<pubDate>Tue, 17 Aug 2010 21:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-57995</guid>
		<description>Ouch! You might consider a larger font and some different colors for your blog, dude. Just trying to help.</description>
		<content:encoded><![CDATA[<p>Ouch! You might consider a larger font and some different colors for your blog, dude. Just trying to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: compatible</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-57677</link>
		<dc:creator>compatible</dc:creator>
		<pubDate>Fri, 13 Aug 2010 11:34:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-57677</guid>
		<description>do you have client that sells ccv?</description>
		<content:encoded><![CDATA[<p>do you have client that sells ccv?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryon Pilarski</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-49711</link>
		<dc:creator>Bryon Pilarski</dc:creator>
		<pubDate>Sat, 20 Mar 2010 12:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-49711</guid>
		<description>You are the best commenter on the planet! I should just give up and take lessons from you</description>
		<content:encoded><![CDATA[<p>You are the best commenter on the planet! I should just give up and take lessons from you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-43565</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:17:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-43565</guid>
		<description>@Bill Woodland: Woops. Caught me on that one Bill. you are correct sir.</description>
		<content:encoded><![CDATA[<p>@Bill Woodland: Woops. Caught me on that one Bill. you are correct sir.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Woodland</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-43564</link>
		<dc:creator>Bill Woodland</dc:creator>
		<pubDate>Wed, 02 Sep 2009 15:10:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-43564</guid>
		<description>oops...left() is ASP (VBScript).  In PHP you would use substr($wp_version,0,3) for string comparison.  I get my languages confused in my old age.

I agree that comparing the actual number would be better than comparing a string, but intval returns an integer.  Your test above is the same as saying 

if (intval($wp_version) &gt;= 2) 

In this case, it&#039;s equal to 2, so it runs the 2.8 hook.  For more accuracy, use floatval instead:

if (floatval($wp_version) &gt;= 2.8)</description>
		<content:encoded><![CDATA[<p>oops&#8230;left() is ASP (VBScript).  In PHP you would use substr($wp_version,0,3) for string comparison.  I get my languages confused in my old age.</p>
<p>I agree that comparing the actual number would be better than comparing a string, but intval returns an integer.  Your test above is the same as saying </p>
<p>if (intval($wp_version) &gt;= 2) </p>
<p>In this case, it&#8217;s equal to 2, so it runs the 2.8 hook.  For more accuracy, use floatval instead:</p>
<p>if (floatval($wp_version) &gt;= 2.8)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul Menard</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-43546</link>
		<dc:creator>Paul Menard</dc:creator>
		<pubDate>Tue, 01 Sep 2009 22:27:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-43546</guid>
		<description>@Bill Woodland: Well you could do something like that. The code is provided as is. Feel free to extent it for your needs. You can actually leave both lines uncommented and they will not effect your site. But I find this grossly inefficient. 

BTW, I applied your new lines and received an error. Seems &#039;left()&#039; is not valid. In some other coding I generally check the WP version by converting it to an intval then comparing it to what I want. Something like this should work. Or I should add it works for me. 
if (intval($wp_version) &gt;= 2.8) {
	add_filter(&#039;transient_update_plugins&#039;, &#039;update_active_plugins&#039;);    // Hook for 2.8.x
} else {
	add_filter( &#039;option_update_plugins&#039;, &#039;update_active_plugins&#039;);    // Hook for 2.7.x
}


Thanks for the tip though. I just got lazy after digging through the WP core code looking how to implement this code. It was on a Sunday afternoon and I was fighting a nap. cheers.</description>
		<content:encoded><![CDATA[<p>@Bill Woodland: Well you could do something like that. The code is provided as is. Feel free to extent it for your needs. You can actually leave both lines uncommented and they will not effect your site. But I find this grossly inefficient. </p>
<p>BTW, I applied your new lines and received an error. Seems &#8216;left()&#8217; is not valid. In some other coding I generally check the WP version by converting it to an intval then comparing it to what I want. Something like this should work. Or I should add it works for me.<br />
if (intval($wp_version) &gt;= 2.8) {<br />
	add_filter(&#8216;transient_update_plugins&#8217;, &#8216;update_active_plugins&#8217;);    // Hook for 2.8.x<br />
} else {<br />
	add_filter( &#8216;option_update_plugins&#8217;, &#8216;update_active_plugins&#8217;);    // Hook for 2.7.x<br />
}</p>
<p>Thanks for the tip though. I just got lazy after digging through the WP core code looking how to implement this code. It was on a Sunday afternoon and I was fighting a nap. cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill Woodland</title>
		<link>http://www.codehooligans.com/2009/08/30/disable-wordpress-plugins-update-indicator-for-inactive-plugins/comment-page-1/#comment-43545</link>
		<dc:creator>Bill Woodland</dc:creator>
		<pubDate>Tue, 01 Sep 2009 22:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.codehooligans.com/?p=463#comment-43545</guid>
		<description>Could we just replace the last two lines with this?

if (left($wp_version,3) ==&#039;2.8&#039;) {
	add_filter(&#039;transient_update_plugins&#039;, &#039;update_active_plugins&#039;);    // Hook for 2.8.x
} else {
	add_filter( &#039;option_update_plugins&#039;, &#039;update_active_plugins&#039;);    // Hook for 2.7.x
}</description>
		<content:encoded><![CDATA[<p>Could we just replace the last two lines with this?</p>
<p>if (left($wp_version,3) ==&#8217;2.8&#8242;) {<br />
	add_filter(&#8216;transient_update_plugins&#8217;, &#8216;update_active_plugins&#8217;);    // Hook for 2.8.x<br />
} else {<br />
	add_filter( &#8216;option_update_plugins&#8217;, &#8216;update_active_plugins&#8217;);    // Hook for 2.7.x<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

