Bugfixes for the coming version 1.0.6

- Updated uninstall function to delete all plugin settings (bugfix)
- Updated counter style internal name in the reference container to correctly link to the right footnote on the page above (bugfix)
- Updated footnote hover box styling to not wrap the footnote text on mouse over (bugfix)
- Changed 'Love Me' text in the page footer if admin excepts it and set its default value to 'no'

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@918065 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-05-20 17:08:51 +00:00
parent cab06f8097
commit 4aa6dd4b50
11 changed files with 113 additions and 81 deletions

View file

@ -4,7 +4,7 @@
* User: Stefan
* Date: 15.05.14
* Time: 16:21
* Version: 1.0
* Version: 1.0.6
* Since: 1.0
*/
@ -42,7 +42,7 @@ class Class_Footnotes
/* register hook for deactivating the plugin */
register_deactivation_hook( __FILE__, array( $this, 'deactivate' ) );
/* register hook for uninstalling the plugin */
register_uninstall_hook( __FILE__, array( __CLASS__, 'uninstall' ) );
register_uninstall_hook( __FILE__, array( $this, 'uninstall' ) );
}
/**
@ -65,11 +65,12 @@ class Class_Footnotes
/**
* uninstalls the plugin
* updated file path in version 1.0.6
* @since 1.0
*/
function uninstall()
{
require_once( PLUGIN_DIR . '/includes/uninstall.php' );
require_once( dirname(__FILE__) . '/../includes/uninstall.php' );
}
/**