Release 1.2.3

- Bugfix: Removed 'Warning output' of Plugins activation and deactivation function (thanks to Piet Bos, Spain)
- Bugfix: Added missing meta boxes parameter on Settings page (thanks to Piet Bos, Spain)
- Bugfix: Removed Widget text formatting
- Bugfix: Load default settings value of setting doesn't exist yet (first usage)
- Bugfix: Replacement of footnotes tag on public pages with html special characters in the content
- Feature: Footnotes tag color is set to the default link color depending on the current Theme (thanks to Daniel Formo, Norway)

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@929484 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
Aricura 2014-06-10 08:51:02 +00:00
parent fbfa893886
commit 3b7e77da48
9 changed files with 37 additions and 21 deletions

View file

@ -4,7 +4,7 @@
Plugin URI: http://wordpress.org/plugins/footnotes/
Description: time to bring footnotes to your website! footnotes are known from offline publishing and everybody takes them for granted when reading a magazine.
Author: media competence institute
Version: 1.2.2
Version: 1.2.3
Author URI: http://cheret.co.uk/mci
Text Domain: footnotes
Domain Path: /languages
@ -35,7 +35,6 @@
* Since: 1.0
*/
/* include constants */
require_once(dirname(__FILE__) . "/includes/defines.php");
/* include language functions */
@ -83,6 +82,11 @@ add_filter("plugin_action_links_{$l_str_plugin_file}", 'footnotes_plugin_setting
/* register footnotes widget */
add_action('widgets_init', create_function('', 'return register_widget("Class_FootnotesWidget");'));
/* register hook for activating the plugin */
register_activation_hook(__FILE__, array('Class_Footnotes', 'activate'));
/* register hook for deactivating the plugin */
register_deactivation_hook(__FILE__, array('Class_Footnotes', 'deactivate'));
/* only admin is allowed to execute the plugin settings */
if (!function_exists('is_admin')) {
header('Status: 403 Forbidden');
@ -90,10 +94,6 @@ if (!function_exists('is_admin')) {
exit();
}
/* register hook for activating the plugin */
register_activation_hook(__FILE__, array('Class_Footnotes', 'activate'));
/* register hook for deactivating the plugin */
register_deactivation_hook(__FILE__, array('Class_Footnotes', 'deactivate'));
/* register hook for uninstalling the plugin */
register_uninstall_hook(__FILE__, array('Class_Footnotes', 'uninstall'));