<?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: WordPress Plugin Installation Hackery</title>
	<atom:link href="http://nerdlife.net/wordpress-plugin-installation-hackery/feed/" rel="self" type="application/rss+xml" />
	<link>http://nerdlife.net/wordpress-plugin-installation-hackery/</link>
	<description>*Insert Witty Subtitle Here*</description>
	<lastBuildDate>Sat, 14 Jan 2012 16:38:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mike Toppa</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-6043</link>
		<dc:creator>Mike Toppa</dc:creator>
		<pubDate>Sat, 18 Jun 2011 18:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-6043</guid>
		<description>2 years later... I thought I&#039;d let you know I found a simpler way to do this, based on your idea. I also noticed someone asking about this in the support forum. See my reply in the forum here for an example:

http://wordpress.org/support/topic/feature-request-error-messages-on-plugin-activation-deactivation?replies=5

If you&#039;ve learned any other ways to do this, please let me know. Thanks!</description>
		<content:encoded><![CDATA[<p>2 years later&#8230; I thought I&#8217;d let you know I found a simpler way to do this, based on your idea. I also noticed someone asking about this in the support forum. See my reply in the forum here for an example:</p>
<p><a href="http://wordpress.org/support/topic/feature-request-error-messages-on-plugin-activation-deactivation?replies=5" rel="nofollow">http://wordpress.org/support/topic/feature-request-error-messages-on-plugin-activation-deactivation?replies=5</a></p>
<p>If you&#8217;ve learned any other ways to do this, please let me know. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP 4 is dead, long live PHP 5! &#124; Mark.</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-2304</link>
		<dc:creator>PHP 4 is dead, long live PHP 5! &#124; Mark.</dc:creator>
		<pubDate>Mon, 02 Nov 2009 22:17:11 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-2304</guid>
		<description>[...] But Words: How to Make a PHP 5 WordPress Plugin Die Gracefully in PHP 4 Nerdlife: Wordpress Plugin Installation Hackery   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] But Words: How to Make a PHP 5 WordPress Plugin Die Gracefully in PHP 4 Nerdlife: WordPress Plugin Installation Hackery   Share and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to Make a PHP 5 WordPress Plugin Die Gracefully in PHP 4 &#124; Nothing But Words</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-2257</link>
		<dc:creator>How to Make a PHP 5 WordPress Plugin Die Gracefully in PHP 4 &#124; Nothing But Words</dc:creator>
		<pubDate>Tue, 20 Oct 2009 01:43:34 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-2257</guid>
		<description>[...] activation in a separate process, making it difficult to communicate anything back to the user. Brian Krausz solved this problem, and my solution for safely checking PHP compatibility builds on his [...]</description>
		<content:encoded><![CDATA[<p>[...] activation in a separate process, making it difficult to communicate anything back to the user. Brian Krausz solved this problem, and my solution for safely checking PHP compatibility builds on his [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-1041</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 23 Jan 2009 23:32:29 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-1041</guid>
		<description>I see...some kind of issue with include ordering.  Strange...</description>
		<content:encoded><![CDATA[<p>I see&#8230;some kind of issue with include ordering.  Strange&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: madmaxmatze</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-1030</link>
		<dc:creator>madmaxmatze</dc:creator>
		<pubDate>Sun, 18 Jan 2009 12:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-1030</guid>
		<description>I fixed the fatal error &quot;Call to undefined function deactivate_plugins()&quot; by including the following at the beginning of my plugin script (Wordpress 2.7):
 
include_once(ereg_replace(&quot;wp-content.plugins.*&quot;, &quot;&quot;, __FILE__) . &#039;wp-admin/includes/plugin.php&#039;);</description>
		<content:encoded><![CDATA[<p>I fixed the fatal error &#8220;Call to undefined function deactivate_plugins()&#8221; by including the following at the beginning of my plugin script (WordPress 2.7):</p>
<p>include_once(ereg_replace(&#8220;wp-content.plugins.*&#8221;, &#8220;&#8221;, __FILE__) . &#8216;wp-admin/includes/plugin.php&#8217;);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-1017</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Sat, 10 Jan 2009 05:41:52 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-1017</guid>
		<description>Sorry about that Mike...I&#039;ll post the full script tomorrow when I get a chance.  Your error, however, seems to either have nothing to do with my script (since my script doesn&#039;t touch deactivation at all), or is because I haven&#039;t tested it in 2.7 yet.

We&#039;ll see as soon as I get a chance to post the script.

Thanks,
Brian</description>
		<content:encoded><![CDATA[<p>Sorry about that Mike&#8230;I&#8217;ll post the full script tomorrow when I get a chance.  Your error, however, seems to either have nothing to do with my script (since my script doesn&#8217;t touch deactivation at all), or is because I haven&#8217;t tested it in 2.7 yet.</p>
<p>We&#8217;ll see as soon as I get a chance to post the script.</p>
<p>Thanks,<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Toppa</title>
		<link>http://nerdlife.net/wordpress-plugin-installation-hackery/comment-page-1/#comment-1016</link>
		<dc:creator>Mike Toppa</dc:creator>
		<pubDate>Fri, 09 Jan 2009 12:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://nerdlife.net/?p=73#comment-1016</guid>
		<description>Hi - thanks for posting this. I was trying to solve this exact some problem. You said &quot;see below for the complete script&quot; but it doesn&#039;t seem to be here. I think I&#039;m missing something important using just the snippet you&#039;ve posted, as I&#039;m getting this error:

Fatal error: Call to undefined function deactivate_plugins()

Could you post the complete script, or email it to me? Thanks very much!</description>
		<content:encoded><![CDATA[<p>Hi &#8211; thanks for posting this. I was trying to solve this exact some problem. You said &#8220;see below for the complete script&#8221; but it doesn&#8217;t seem to be here. I think I&#8217;m missing something important using just the snippet you&#8217;ve posted, as I&#8217;m getting this error:</p>
<p>Fatal error: Call to undefined function deactivate_plugins()</p>
<p>Could you post the complete script, or email it to me? Thanks very much!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

