ACFW Version 0.4 Released

Well, what a fiasco that was… my first plugin and I release it unfinished!

Apologies to anyone who has downloaded it and is now using it, but version 0.3 had a couple of issues that I desperately wanted to fix.

First up, when the plugin is deactivated, it deletes it’s configuration… not great when you use the automatic updates… so, for upgrading to version 0.4 I highly recommend a manual upgrade. I’ve tried deactivating the plugin on my development blog and the changes appear to work as the configuration is still there once it’s reactivated. Feedback would be appreciated if you have problems with this as I want to get any issues like that nailed early on.

The other thing I wanted to fix was the lack of a .POT file. I believe the one that’s now provide is up to scratch. If not, again… feedback is appreciated.

I should also give a shout out to Jacob Santos for his information about the uninstall hooks in WordPress 2.7 (available on his blog at http://www.santosj.name/2008/general/wordpress-27-plugin-uninstall-methods/). Unfortunately I found his example of the uninstall file didn’t work and I had a nightmare getting it to work, so here’s the one from ACFW.

<?php

if (defined("WP_UNINSTALL_PLUGIN")==TRUE)
{
	if (current_user_can(activate_plugins))
	{
		delete_option("widget_adv_custom_field");
	}
}

?>

Tags: ,

Leave a Reply