Version 1.1.0 of the Last Modified Footer plugin has been committed to the WordPress plugin repository. This version contains the following enhancements:
- Encapsulated plugin functionality in a class
- Consolidated plugin options into an array stored in a single option
- Removed duplicated code from the plugin
- Cleaned up code to match the WordPress Coding Standards
- Re-wrote admin panel code to use the new options mechanism introduced in WordPress 2.7
- Improved the translatability of messages by allowing manipulation of the position of non-translatable elements in messages
- Migrated from boolean options to named string options for better forward compatibility
- Added a footer message to plugin admin panel stating the name of the plugin, the current version and the author’s name
- Re-wrote plugin activation hook to attempt to pull in existing options from current and previous versions of the plugin as well as removing redundant options
- Added a call to load the plugin l10n / i18n text domain
- Removed plugin deactivation code and hook to stop configuration options being removed when plugin is deactivated (as opposed to uninstalled)
- Added an uninstall script to ensure that configuration options are removed from the database if the plugin is deleted (from the Manage Plugins menu)
- Encapsulated the plugin widget functionality in a class based on the WP_Widget class introduced in WordPress 2.8
- Re-wrote the widget and admin panel code to conform with the WP_Widget class requirements
As usual, if you’ve got the plugin installed then WordPress should display the fact that an update is available on the plugins menu within 12 hours. The plugin can be manually downloaded from the WordPress repository if you don’t want to wait.
NB: When the plugin is updated it will attempt to keep your previous configuration options and delete any stray options created by previous versions. To ensure that the update process works properly please do not deactivate the plugin prior to updating it. The WordPress plugin update functionality takes care of everything for you.