2016-06-29 12:53:41 +00:00
|
|
|
|
<?php
|
|
|
|
|
/*
|
2020-11-05 02:34:35 +00:00
|
|
|
|
Plugin Name: footnotes
|
|
|
|
|
Plugin URI: https://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.
|
2019-07-03 19:54:07 +00:00
|
|
|
|
Author: Mark Cheret
|
2021-02-17 11:42:31 +00:00
|
|
|
|
Version: 2.5.5
|
2019-07-03 19:54:07 +00:00
|
|
|
|
Author URI: http://cheret.de/plugins/footnotes-2/
|
2020-11-05 02:34:35 +00:00
|
|
|
|
Text Domain: footnotes
|
|
|
|
|
Domain Path: /languages
|
2016-06-29 12:53:41 +00:00
|
|
|
|
*/
|
|
|
|
|
/*
|
2021-02-08 18:04:15 +00:00
|
|
|
|
* Copyright 2021 Mark Cheret (email: mark@cheret.de)
|
|
|
|
|
*/
|
|
|
|
|
/**
|
2021-02-16 02:23:40 +00:00
|
|
|
|
* Version number for stylesheet cache busting.
|
2021-02-08 18:04:15 +00:00
|
|
|
|
*
|
|
|
|
|
* @since 2.1.4
|
|
|
|
|
* @since 2.5.3 (Hungarian)
|
|
|
|
|
* @var str
|
2021-02-17 11:42:31 +00:00
|
|
|
|
* @lastmodified 2021-02-17T1232+0100
|
2021-02-08 18:04:15 +00:00
|
|
|
|
* @committer @pewgeuges
|
|
|
|
|
*/
|
2021-02-17 11:42:31 +00:00
|
|
|
|
define( 'C_STR_FOOTNOTES_VERSION', '2.5.5' );
|
2021-02-08 18:04:15 +00:00
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
LICENSE NOTICE
|
2016-06-29 12:53:41 +00:00
|
|
|
|
|
2020-11-05 02:34:35 +00:00
|
|
|
|
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.
|
2016-06-29 12:53:41 +00:00
|
|
|
|
|
2020-11-05 02:34:35 +00:00
|
|
|
|
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.
|
2016-06-29 12:53:41 +00:00
|
|
|
|
|
2020-11-05 02:34:35 +00:00
|
|
|
|
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
|
2016-06-29 12:53:41 +00:00
|
|
|
|
*/
|
2020-11-01 05:41:22 +00:00
|
|
|
|
|
2016-06-29 12:53:41 +00:00
|
|
|
|
/**
|
2021-02-08 18:04:15 +00:00
|
|
|
|
* Plugin’s main PHP file.
|
|
|
|
|
*
|
2016-06-29 12:53:41 +00:00
|
|
|
|
* @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/footnotes.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();
|
2021-02-16 02:23:40 +00:00
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Sets the stylesheet enqueuing mode for production.
|
|
|
|
|
*
|
|
|
|
|
* @since 2.5.5
|
|
|
|
|
* @var bool
|
|
|
|
|
* @see class/init.php
|
|
|
|
|
*
|
|
|
|
|
* In production, a minified CSS file tailored to the settings is enqueued.
|
|
|
|
|
*
|
|
|
|
|
* Developing stylesheets is meant to be easier when this is set to false.
|
2021-02-17 10:58:28 +00:00
|
|
|
|
* WARNING: This facility designed for development must NOT be used in production.
|
2021-02-16 02:23:40 +00:00
|
|
|
|
*/
|
|
|
|
|
define( 'C_BOOL_CSS_PRODUCTION_MODE', true );
|