<?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: Important Developers&#8217; Notice:  Please deactivate WordPress Hook Sniffer for the time being</title>
	<atom:link href="http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/</link>
	<description>Thoughts on startups, leadership, the Web, and disruptive technologies</description>
	<lastBuildDate>Mon, 16 Apr 2012 17:24:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Hunting for links: Friday Find &#124; Premium BuddyPress Themes at BuddyDress</title>
		<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/#comment-2668</link>
		<dc:creator>Hunting for links: Friday Find &#124; Premium BuddyPress Themes at BuddyDress</dc:creator>
		<pubDate>Fri, 23 Jul 2010 13:31:44 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=703#comment-2668</guid>
		<description>[...] Sayre wrote a post entitled &#8216;Important Developers’ Notice: Please deactivate WordPress Hook Sniffer for the time being&amp;...which is worth paying attention to if you use the [...]</description>
		<content:encoded><![CDATA[<p>[...] Sayre wrote a post entitled &#8216;Important Developers’ Notice: Please deactivate WordPress Hook Sniffer for the time being&amp;&#8230;which is worth paying attention to if you use the [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Sayre</title>
		<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/#comment-2658</link>
		<dc:creator>Jeff Sayre</dc:creator>
		<pubDate>Sun, 18 Jul 2010 16:13:03 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=703#comment-2658</guid>
		<description>foxly -

Thanks for the suggestions and I&#039;m sorry that you were experiencing strange behavior with WP/BP. I only wish that I had caught this sooner.

As per your last idea, WP Hook Sniffer has performed that check since day one. Although, it does not do so during activation, it does so after activation so that it can display a warning message at the top of hook sniffer&#039;s settings screen.

I felt it best to let the plugin activate so as to provide a warning message but just not function&#8212;other than allowing settings to be changed. So, if the modified plugin.php file is not installed, it will not fire the routines that output the hook sniffer information. In the pending new version, I&#039;ve taken it a step further by versioning the modified plugin.php file. WP Hook Sniffer will now make sure that not only the modified plugin.php file is installed, but also the proper version of that file.

As to your first suggestion, I agree that reinstalling the original, stock plugin.php file upon plugin deactivation is a good idea. That way, people can simply activate hook sniffer when they need to figure out an action or filter hook firing issue and then when done, deactivate and rest assured that their stock WP install is as it should be&#8212;with no modifications to the plugin.php file.

I will work on coding that into the upcoming version as well. :)</description>
		<content:encoded><![CDATA[<p>foxly -</p>
<p>Thanks for the suggestions and I&#8217;m sorry that you were experiencing strange behavior with WP/BP. I only wish that I had caught this sooner.</p>
<p>As per your last idea, WP Hook Sniffer has performed that check since day one. Although, it does not do so during activation, it does so after activation so that it can display a warning message at the top of hook sniffer&#8217;s settings screen.</p>
<p>I felt it best to let the plugin activate so as to provide a warning message but just not function&mdash;other than allowing settings to be changed. So, if the modified plugin.php file is not installed, it will not fire the routines that output the hook sniffer information. In the pending new version, I&#8217;ve taken it a step further by versioning the modified plugin.php file. WP Hook Sniffer will now make sure that not only the modified plugin.php file is installed, but also the proper version of that file.</p>
<p>As to your first suggestion, I agree that reinstalling the original, stock plugin.php file upon plugin deactivation is a good idea. That way, people can simply activate hook sniffer when they need to figure out an action or filter hook firing issue and then when done, deactivate and rest assured that their stock WP install is as it should be&mdash;with no modifications to the plugin.php file.</p>
<p>I will work on coding that into the upcoming version as well. <img src='http://jeffsayre.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeff Sayre</title>
		<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/#comment-2656</link>
		<dc:creator>Jeff Sayre</dc:creator>
		<pubDate>Sun, 18 Jul 2010 15:56:47 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=703#comment-2656</guid>
		<description>Andy -

Thanks for the comment and the donation!</description>
		<content:encoded><![CDATA[<p>Andy -</p>
<p>Thanks for the comment and the donation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BuddyPress Media</title>
		<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/#comment-2654</link>
		<dc:creator>BuddyPress Media</dc:creator>
		<pubDate>Sun, 18 Jul 2010 15:49:25 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=703#comment-2654</guid>
		<description>lol ... I was *totally* wondering why WordPress was acting strange this week. In our case, var_dump() stopped giving formatted output.

One possible improvement would be to have hook sniffer automatically replace the original WordPress plugins.php file on activation, and then restore it to the original file when the plugin is deactivated. That way, future problems will easily be found using first line debugging techniques. Don&#039;t forget to handle the situation of the WordPress install being upgraded between hook sniffer activation and deactivation, to avoid restoring plugins.php to an out of date version.  

You also might want to think about taking a hash of the original plugins.php file during the replacement operation and blocking activation of hook sniffer if it doesn&#039;t match the right value. That way, if WordPress is upgraded, overwrites the plugins.php file, and the plugin re-activates ...and the newly upgraded plugins.php file has been modified from the previous version... the plugin will not activate.

These are, of course, only suggestions. We&#039;ll continue to enjoy wp hook sniffer no matter what you do to it. :)

^F^</description>
		<content:encoded><![CDATA[<p>lol &#8230; I was *totally* wondering why WordPress was acting strange this week. In our case, var_dump() stopped giving formatted output.</p>
<p>One possible improvement would be to have hook sniffer automatically replace the original WordPress plugins.php file on activation, and then restore it to the original file when the plugin is deactivated. That way, future problems will easily be found using first line debugging techniques. Don&#8217;t forget to handle the situation of the WordPress install being upgraded between hook sniffer activation and deactivation, to avoid restoring plugins.php to an out of date version.  </p>
<p>You also might want to think about taking a hash of the original plugins.php file during the replacement operation and blocking activation of hook sniffer if it doesn&#8217;t match the right value. That way, if WordPress is upgraded, overwrites the plugins.php file, and the plugin re-activates &#8230;and the newly upgraded plugins.php file has been modified from the previous version&#8230; the plugin will not activate.</p>
<p>These are, of course, only suggestions. We&#8217;ll continue to enjoy wp hook sniffer no matter what you do to it. <img src='http://jeffsayre.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>^F^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Bailey</title>
		<link>http://jeffsayre.com/2010/07/17/important-developers-notice-please-deactivate-wordpress-hook-sniffer-for-the-time-being/#comment-2650</link>
		<dc:creator>Andy Bailey</dc:creator>
		<pubDate>Sat, 17 Jul 2010 19:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://jeffsayre.com/?p=703#comment-2650</guid>
		<description>I noticed the same thing. I was using the hook sniffer to find the places to hook my custom functions in while I was integrating the amember plugin and noticed that log in links and other small functions were not working until I swapped the plugins.php file back/

I was expecting some small issues anyway but, the good news is that I was able to use the hook sniffer info to quickly get to exactly what I needed. (I was so impressed I donated!)

I am looking forward to the latest and greatest version because I envisage the need to use those cool geek-worth features when the project goes into overdrive, thanks for letting me know you&#039;re still on the case...</description>
		<content:encoded><![CDATA[<p>I noticed the same thing. I was using the hook sniffer to find the places to hook my custom functions in while I was integrating the amember plugin and noticed that log in links and other small functions were not working until I swapped the plugins.php file back/</p>
<p>I was expecting some small issues anyway but, the good news is that I was able to use the hook sniffer info to quickly get to exactly what I needed. (I was so impressed I donated!)</p>
<p>I am looking forward to the latest and greatest version because I envisage the need to use those cool geek-worth features when the project goes into overdrive, thanks for letting me know you&#8217;re still on the case&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

