<?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"
	>
<channel>
	<title>Comments on: Plugin Deactivation Issues Solved With Actions and Filters</title>
	<atom:link href="http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/feed/" rel="self" type="application/rss+xml" />
	<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/</link>
	<description>Weblog Tools Blogging Tools Blog</description>
	<pubDate>Fri, 09 Jan 2009 05:24:28 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: WeblogToolsCollection Español &#187; Archivo del Blog &#187; Lo Mejor de WLTC - Parte 1</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1244165</link>
		<dc:creator>WeblogToolsCollection Español &#187; Archivo del Blog &#187; Lo Mejor de WLTC - Parte 1</dc:creator>
		<pubDate>Tue, 30 Dec 2008 20:33:15 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1244165</guid>
		<description>[...] Problemas de Desactivaci&#243;n de Plugins Resueltos con Acciones y Filtros. [...]</description>
		<content:encoded><![CDATA[<p>[...] Problemas de Desactivaci&oacute;n de Plugins Resueltos con Acciones y Filtros. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Best Of WLTC Part 1 &#124; Weblog Tools Collection</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1243823</link>
		<dc:creator>Best Of WLTC Part 1 &#124; Weblog Tools Collection</dc:creator>
		<pubDate>Sat, 27 Dec 2008 23:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1243823</guid>
		<description>[...] Plugin Deactivation Issues Solved With Actions and Filters [...]</description>
		<content:encoded><![CDATA[<p>[...] Plugin Deactivation Issues Solved With Actions and Filters [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Haunted Palace &#187; Archive &#187; ma.gnolia/carla [June 9th through June 12th]</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229787</link>
		<dc:creator>The Haunted Palace &#187; Archive &#187; ma.gnolia/carla [June 9th through June 12th]</dc:creator>
		<pubDate>Fri, 13 Jun 2008 00:04:51 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229787</guid>
		<description>[...] Weblog Tools Collection &#187; Blog Archive &#187; Plugin Deactivation Issues Solved With Actions ... &#8212; [...]</description>
		<content:encoded><![CDATA[<p>[...] Weblog Tools Collection &raquo; Blog Archive &raquo; Plugin Deactivation Issues Solved With Actions &#8230; &#8212; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Potter</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229429</link>
		<dc:creator>David Potter</dc:creator>
		<pubDate>Mon, 09 Jun 2008 04:11:42 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229429</guid>
		<description>Terrific article.  It's not clear how I would make a choice between some of these, however, for example methods 2 and 3.  Could you add links to the appropriate related material in the codex or on your own blog?

Thanks,
&lt;b&gt;&lt;i&gt;David&lt;/i&gt;&lt;/b&gt;</description>
		<content:encoded><![CDATA[<p>Terrific article.  It&#8217;s not clear how I would make a choice between some of these, however, for example methods 2 and 3.  Could you add links to the appropriate related material in the codex or on your own blog?</p>
<p>Thanks,<br />
<b><i>David</i></b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azizur Rahman</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229285</link>
		<dc:creator>Azizur Rahman</dc:creator>
		<pubDate>Sat, 07 Jun 2008 19:23:18 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229285</guid>
		<description>@Ronald, I don't know how I have missed that post.</description>
		<content:encoded><![CDATA[<p>@Ronald, I don&#8217;t know how I have missed that post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229283</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Sat, 07 Jun 2008 18:45:03 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229283</guid>
		<description>@Azizur,

That issue has been discussed here before:  &lt;a href='http://weblogtoolscollection.com/archives/2008/01/07/uninstall-is-there-such-a-thing/' rel="nofollow"&gt;Uninstall, is there such a thing&lt;/a&gt;?

Not sure if there is a core uninstall hook planned.</description>
		<content:encoded><![CDATA[<p>@Azizur,</p>
<p>That issue has been discussed here before:  <a href='http://weblogtoolscollection.com/archives/2008/01/07/uninstall-is-there-such-a-thing/'>Uninstall, is there such a thing</a>?</p>
<p>Not sure if there is a core uninstall hook planned.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Azizur Rahman</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229279</link>
		<dc:creator>Azizur Rahman</dc:creator>
		<pubDate>Sat, 07 Jun 2008 18:21:45 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229279</guid>
		<description>I am not sure if WordPress has a facility to deal with this following use case for plug-in.

I want to disable and remove the plug-in completely so that none of its options are left in the database.

I think there should be a way for plug-in developers to do such things.

So far I have a plug-in that erases all the info that it puts into the database and all user options but only problem is it comes with payload that if the user want to re-activate the plug-in they must also do all the config all over again. I think that is a reasonable approach to take.

Ideally there should be intermediate step in Plug-in Deactivation process, where by plug-in developer like myself can intercept and alert the user to if they want to make a back up of their options. before de-activating the plug-in.

What do you think?</description>
		<content:encoded><![CDATA[<p>I am not sure if WordPress has a facility to deal with this following use case for plug-in.</p>
<p>I want to disable and remove the plug-in completely so that none of its options are left in the database.</p>
<p>I think there should be a way for plug-in developers to do such things.</p>
<p>So far I have a plug-in that erases all the info that it puts into the database and all user options but only problem is it comes with payload that if the user want to re-activate the plug-in they must also do all the config all over again. I think that is a reasonable approach to take.</p>
<p>Ideally there should be intermediate step in Plug-in Deactivation process, where by plug-in developer like myself can intercept and alert the user to if they want to make a back up of their options. before de-activating the plug-in.</p>
<p>What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronald Huereca</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229278</link>
		<dc:creator>Ronald Huereca</dc:creator>
		<pubDate>Sat, 07 Jun 2008 18:02:42 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229278</guid>
		<description>@chaos,
Thanks for that.  Unfortunately I'm getting errors when I edit the post.

@Lloyd,
I see what you mean, but I'm not trying to give a tutorial on actions/filters with this article.  Perhaps I should write one here?

The various methods should hopefully show plugin authors the various possibilities so that plugin deactivation issues can be a thing of the past.</description>
		<content:encoded><![CDATA[<p>@chaos,<br />
Thanks for that.  Unfortunately I&#8217;m getting errors when I edit the post.</p>
<p>@Lloyd,<br />
I see what you mean, but I&#8217;m not trying to give a tutorial on actions/filters with this article.  Perhaps I should write one here?</p>
<p>The various methods should hopefully show plugin authors the various possibilities so that plugin deactivation issues can be a thing of the past.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lloyd Budd</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229266</link>
		<dc:creator>Lloyd Budd</dc:creator>
		<pubDate>Sat, 07 Jun 2008 14:00:07 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229266</guid>
		<description>As usual Ronald, excellent content!

Your 1,2,3,4,5,6 presentation may confuse people a little about the difference between actions and filters though (semantics really, as they share the same code and execution). 6 should really be with the other action information and is likely the scenario that it is worth providing some real examples for.

Your filter example is completely forced. Filters are always in the context of manipulating existing data, whether provided by core or a plugin, and very unlikely to relate to plugin deactivation issues.

As I started awesome content to put  other there for critique ;-)</description>
		<content:encoded><![CDATA[<p>As usual Ronald, excellent content!</p>
<p>Your 1,2,3,4,5,6 presentation may confuse people a little about the difference between actions and filters though (semantics really, as they share the same code and execution). 6 should really be with the other action information and is likely the scenario that it is worth providing some real examples for.</p>
<p>Your filter example is completely forced. Filters are always in the context of manipulating existing data, whether provided by core or a plugin, and very unlikely to relate to plugin deactivation issues.</p>
<p>As I started awesome content to put  other there for critique <img src='http://weblogtoolscollection.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chaoskaizer</title>
		<link>http://weblogtoolscollection.com/archives/2008/06/07/plugin-deactivation-issues-solved-with-actions-and-filters/#comment-1229263</link>
		<dc:creator>chaoskaizer</dc:creator>
		<pubDate>Sat, 07 Jun 2008 13:30:37 +0000</pubDate>
		<guid isPermaLink="false">http://weblogtoolscollection.com/?p=3626#comment-1229263</guid>
		<description>in WP 2.5.x there is a function name &lt;cite&gt;is_plugin_active&lt;/cite&gt; ( and is_widget_active() for sidebar widgets). I think this might be worth mentioning here.

&lt;code&gt;
if (is_plugin_active('pluginbasedir/pluginfilename.php'))
 add_action('my_related_posts', 'related_posts', 1, 1);
else
 // do something else
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>in WP 2.5.x there is a function name <cite>is_plugin_active</cite> ( and is_widget_active() for sidebar widgets). I think this might be worth mentioning here.</p>
<p><code><br />
if (is_plugin_active('pluginbasedir/pluginfilename.php'))<br />
 add_action('my_related_posts', 'related_posts', 1, 1);<br />
else<br />
 // do something else<br />
</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>
