58b3dd27f6
- Add: Setting to enable/disable the mouse-over box - Add: Current WordPress Theme to the Diagnostics sub page - Add: ManFisher note in the "other Plugins" sub page - Update: Removed unnecessary hidden inputs from the Settings page - Update: Merged public CSS files to reduce the output and improve the performance - Update: Translations (EN and DE) - Bugfix: Removed the 'trim' function to allow whitespaces at the beginning and end of each setting - Bugfix: Convert the footnotes short code to HTML special chars when adding them into the page/post editor (visual and text) - Bugfix: Detailed error messages if other Plugins can't be loaded. Also added empty strings as default values to avoid 'undefined' git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@1000036 b8457f37-d9ea-0310-8a92-e5e31aec5664
44 lines
No EOL
1.6 KiB
PHP
Executable file
44 lines
No EOL
1.6 KiB
PHP
Executable file
<?php
|
|
/*
|
|
Plugin Name: footnotes
|
|
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: ManFisher Medien ManuFaktur
|
|
Version: 1.5.2
|
|
Author URI: http://manfisher.net/plugins/footnotes/
|
|
Text Domain: footnotes
|
|
Domain Path: /languages
|
|
*/
|
|
/*
|
|
Copyright 2014 Mark Cheret, Stefan Herndler (email : info@manfisher.eu | support@herndler.org)
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License, version 3, as
|
|
published by the Free Software Foundation.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
/**
|
|
* @filesource
|
|
* @author Stefan Herndler
|
|
* @since 0.0.1
|
|
*/
|
|
|
|
// Get all common classes and functions
|
|
require_once(dirname(__FILE__) . "/includes.php");
|
|
|
|
// add Plugin Links to the "installed plugins" page
|
|
$l_str_plugin_file = 'footnotes/index.php';
|
|
add_filter("plugin_action_links_{$l_str_plugin_file}", array("MCI_Footnotes_Hooks", "PluginLinks"), 10, 2);
|
|
|
|
// initialize the Plugin
|
|
$g_obj_MCI_Footnotes = new MCI_Footnotes();
|
|
// run the Plugin
|
|
$g_obj_MCI_Footnotes->run(); |