Strip \@author tags
This commit is contained in:
parent
eea9316c63
commit
d13245a98e
9 changed files with 0 additions and 118 deletions
|
@ -16,7 +16,6 @@
|
||||||
/**
|
/**
|
||||||
* Contains all Plugin Constants. Contains no Method or Property.
|
* Contains all Plugin Constants. Contains no Method or Property.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Config {
|
class MCI_Footnotes_Config {
|
||||||
|
@ -24,7 +23,6 @@ class MCI_Footnotes_Config {
|
||||||
/**
|
/**
|
||||||
* Internal Plugin name.
|
* Internal Plugin name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -33,7 +31,6 @@ class MCI_Footnotes_Config {
|
||||||
/**
|
/**
|
||||||
* Public Plugin name.
|
* Public Plugin name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*
|
*
|
||||||
|
@ -58,7 +55,6 @@ class MCI_Footnotes_Config {
|
||||||
/**
|
/**
|
||||||
* Html tag for the LOVE symbol.
|
* Html tag for the LOVE symbol.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -75,7 +71,6 @@ class MCI_Footnotes_Config {
|
||||||
/**
|
/**
|
||||||
* Short code to DON'T display the 'LOVE ME' slug on certain pages.
|
* Short code to DON'T display the 'LOVE ME' slug on certain pages.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -16,7 +16,6 @@
|
||||||
/**
|
/**
|
||||||
* Converts data types and Footnotes specific values.
|
* Converts data types and Footnotes specific values.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Convert {
|
class MCI_Footnotes_Convert {
|
||||||
|
@ -24,7 +23,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Converts a integer into the user-defined counter style for the footnotes.
|
* Converts a integer into the user-defined counter style for the footnotes.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param int $p_int_index Index to be converted.
|
* @param int $p_int_index Index to be converted.
|
||||||
* @param string $p_str_convert_style Style of the new/converted Index.
|
* @param string $p_str_convert_style Style of the new/converted Index.
|
||||||
|
@ -55,7 +53,6 @@ class MCI_Footnotes_Convert {
|
||||||
* Converts an integer into latin ascii characters, either lower or upper-case.
|
* Converts an integer into latin ascii characters, either lower or upper-case.
|
||||||
* Function available from A to ZZ ( means 676 footnotes at 1 page possible).
|
* Function available from A to ZZ ( means 676 footnotes at 1 page possible).
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.0-gamma
|
* @since 1.0-gamma
|
||||||
* @param int $p_int_value Value/Index to be converted.
|
* @param int $p_int_value Value/Index to be converted.
|
||||||
* @param bool $p_bool_upper_case True to convert the value to upper case letter, otherwise to lower case.
|
* @param bool $p_bool_upper_case True to convert the value to upper case letter, otherwise to lower case.
|
||||||
|
@ -87,7 +84,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Converts an integer to a leading-0 integer.
|
* Converts an integer to a leading-0 integer.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.0-gamma
|
* @since 1.0-gamma
|
||||||
* @param int $p_int_value Value/Index to be converted.
|
* @param int $p_int_value Value/Index to be converted.
|
||||||
* @return string Value with a leading zero.
|
* @return string Value with a leading zero.
|
||||||
|
@ -103,7 +99,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Converts an integer to a romanic letter.
|
* Converts an integer to a romanic letter.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.0-gamma
|
* @since 1.0-gamma
|
||||||
* @param int $p_int_value Value/Index to be converted.
|
* @param int $p_int_value Value/Index to be converted.
|
||||||
* @return string
|
* @return string
|
||||||
|
@ -150,7 +145,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Converts a string depending on its value to a boolean.
|
* Converts a string depending on its value to a boolean.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.0-beta
|
* @since 1.0-beta
|
||||||
* @param string $p_str_value String to be converted to boolean.
|
* @param string $p_str_value String to be converted to boolean.
|
||||||
* @return bool Boolean representing the string.
|
* @return bool Boolean representing the string.
|
||||||
|
@ -174,7 +168,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Get a html Array short code depending on Arrow-Array key index.
|
* Get a html Array short code depending on Arrow-Array key index.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.3.2
|
* @since 1.3.2
|
||||||
* @param int $p_int_index Index representing the Arrow. If empty all Arrows are specified.
|
* @param int $p_int_index Index representing the Arrow. If empty all Arrows are specified.
|
||||||
* @return array|string Array of all Arrows if Index is empty otherwise html tag of a specific arrow.
|
* @return array|string Array of all Arrows if Index is empty otherwise html tag of a specific arrow.
|
||||||
|
@ -197,7 +190,6 @@ class MCI_Footnotes_Convert {
|
||||||
/**
|
/**
|
||||||
* Displays a Variable.
|
* Displays a Variable.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param mixed $p_mixed_Value
|
* @param mixed $p_mixed_Value
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -13,7 +13,6 @@
|
||||||
/**
|
/**
|
||||||
* Registers all WordPress Hooks and executes them on demand.
|
* Registers all WordPress Hooks and executes them on demand.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Hooks {
|
class MCI_Footnotes_Hooks {
|
||||||
|
@ -21,7 +20,6 @@ class MCI_Footnotes_Hooks {
|
||||||
/**
|
/**
|
||||||
* Registers all WordPress hooks.
|
* Registers all WordPress hooks.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function register_hooks() {
|
public static function register_hooks() {
|
||||||
|
@ -33,7 +31,6 @@ class MCI_Footnotes_Hooks {
|
||||||
/**
|
/**
|
||||||
* Executed when the Plugin gets activated.
|
* Executed when the Plugin gets activated.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function activate_plugin() {
|
public static function activate_plugin() {
|
||||||
|
@ -43,7 +40,6 @@ class MCI_Footnotes_Hooks {
|
||||||
/**
|
/**
|
||||||
* Executed when the Plugin gets deactivated.
|
* Executed when the Plugin gets deactivated.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function deactivate_plugin() {
|
public static function deactivate_plugin() {
|
||||||
|
@ -53,7 +49,6 @@ class MCI_Footnotes_Hooks {
|
||||||
/**
|
/**
|
||||||
* Executed when the Plugin gets uninstalled.
|
* Executed when the Plugin gets uninstalled.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* Edit: Clear_all didn’t actually work.
|
* Edit: Clear_all didn’t actually work.
|
||||||
|
@ -75,7 +70,6 @@ class MCI_Footnotes_Hooks {
|
||||||
/**
|
/**
|
||||||
* Add Links to the Plugin in the "installed Plugins" page.
|
* Add Links to the Plugin in the "installed Plugins" page.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param array $p_arr_links Current Links.
|
* @param array $p_arr_links Current Links.
|
||||||
* @param string $p_str_plugin_file_name Plugins init file name.
|
* @param string $p_str_plugin_file_name Plugins init file name.
|
||||||
|
|
|
@ -26,7 +26,6 @@
|
||||||
/**
|
/**
|
||||||
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
|
* Entry point of the Plugin. Loads the Dashboard and executes the Task.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes {
|
class MCI_Footnotes {
|
||||||
|
@ -34,7 +33,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Reference to the Plugin Task object.
|
* Reference to the Plugin Task object.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var null|MCI_Footnotes_Task
|
* @var null|MCI_Footnotes_Task
|
||||||
*/
|
*/
|
||||||
|
@ -48,7 +46,6 @@ class MCI_Footnotes {
|
||||||
* @since 2.4.0
|
* @since 2.4.0
|
||||||
* @date 2021-01-04T1355+0100
|
* @date 2021-01-04T1355+0100
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*
|
*
|
||||||
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
||||||
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
||||||
|
@ -66,7 +63,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Executes the Plugin.
|
* Executes the Plugin.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -103,7 +99,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Initializes all Widgets of the Plugin.
|
* Initializes all Widgets of the Plugin.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -137,7 +132,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Initializes the Dashboard of the Plugin and loads them.
|
* Initializes the Dashboard of the Plugin and loads them.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function initialize_dashboard() {
|
private function initialize_dashboard() {
|
||||||
|
@ -147,7 +141,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Initializes the Plugin Task and registers the Task hooks.
|
* Initializes the Plugin Task and registers the Task hooks.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function initialize_task() {
|
private function initialize_task() {
|
||||||
|
@ -158,7 +151,6 @@ class MCI_Footnotes {
|
||||||
/**
|
/**
|
||||||
* Registers and enqueues scripts and stylesheets to the public pages.
|
* Registers and enqueues scripts and stylesheets to the public pages.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @since 2.0.0 Update: Tooltips: fix disabling bug by loading j_query UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution.
|
* @since 2.0.0 Update: Tooltips: fix disabling bug by loading j_query UI library, thanks to @rajinderverma @ericcorbett2 @honlapdavid @mmallett bug reports, thanks to @vonpiernik code contribution.
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
/**
|
/**
|
||||||
* Loads text domain of current or default language for localization.
|
* Loads text domain of current or default language for localization.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Language {
|
class MCI_Footnotes_Language {
|
||||||
|
@ -23,7 +22,6 @@ class MCI_Footnotes_Language {
|
||||||
/**
|
/**
|
||||||
* Register WordPress Hook.
|
* Register WordPress Hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function register_hooks() {
|
public static function register_hooks() {
|
||||||
|
@ -34,7 +32,6 @@ class MCI_Footnotes_Language {
|
||||||
* Loads the text domain for current WordPress language if exists.
|
* Loads the text domain for current WordPress language if exists.
|
||||||
* Otherwise fallback "en_GB" will be loaded.
|
* Otherwise fallback "en_GB" will be loaded.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
|
@ -77,7 +74,6 @@ class MCI_Footnotes_Language {
|
||||||
/**
|
/**
|
||||||
* Loads a specific text domain.
|
* Loads a specific text domain.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.1
|
* @since 1.5.1
|
||||||
* @param string $p_str_language_code Language Code to load a specific text domain.
|
* @param string $p_str_language_code Language Code to load a specific text domain.
|
||||||
* @return bool
|
* @return bool
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
/**
|
/**
|
||||||
* Loads the settings values, sets to default values if undefined.
|
* Loads the settings values, sets to default values if undefined.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Settings {
|
class MCI_Footnotes_Settings {
|
||||||
|
@ -68,7 +67,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the label of the reference container.
|
* Settings Container Key for the label of the reference container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -77,7 +75,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to collapse the reference container by default.
|
* Settings Container Key to collapse the reference container by default.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
* The string is converted to Boolean false if 'no', true if 'yes'.
|
* The string is converted to Boolean false if 'no', true if 'yes'.
|
||||||
|
@ -90,7 +87,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the position of the reference container.
|
* Settings Container Key for the position of the reference container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -99,7 +95,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for combining identical footnotes.
|
* Settings Container Key for combining identical footnotes.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -108,7 +103,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the short code of the footnote’s start.
|
* Settings Container Key for the short code of the footnote’s start.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -117,7 +111,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the short code of the footnote’s end.
|
* Settings Container Key for the short code of the footnote’s end.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -126,7 +119,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the user-defined short code of the footnotes start.
|
* Settings Container Key for the user-defined short code of the footnotes start.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -135,7 +127,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the user-defined short code of the footnotes end.
|
* Settings Container Key for the user-defined short code of the footnotes end.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -144,7 +135,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the counter style of the footnotes.
|
* Settings Container Key for the counter style of the footnotes.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -153,7 +143,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the 'I love footnotes' text.
|
* Settings Container Key for the 'I love footnotes' text.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -162,7 +151,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to look for footnotes in post excerpts.
|
* Settings Container Key to look for footnotes in post excerpts.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -171,7 +159,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the Expert mode.
|
* Settings Container Key for the Expert mode.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*
|
*
|
||||||
|
@ -186,7 +173,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the string before the footnote referrer.
|
* Settings Container Key for the string before the footnote referrer.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*
|
*
|
||||||
|
@ -202,7 +188,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the string after the footnote referrer.
|
* Settings Container Key for the string after the footnote referrer.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -211,7 +196,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the mouse-over box.
|
* Settings Container Key to enable the mouse-over box.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.2
|
* @since 1.5.2
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -240,7 +224,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable tooltip truncation.
|
* Settings Container Key to enable tooltip truncation.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.4
|
* @since 1.5.4
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -249,7 +232,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the max. length of the enabled excerpt.
|
* Settings Container Key for the mouse-over box to define the max. length of the enabled excerpt.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.4
|
* @since 1.5.4
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -258,7 +240,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the position.
|
* Settings Container Key for the mouse-over box to define the position.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.7
|
* @since 1.5.7
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -267,7 +248,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the offset (x).
|
* Settings Container Key for the mouse-over box to define the offset (x).
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.7
|
* @since 1.5.7
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -276,7 +256,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the offset (y).
|
* Settings Container Key for the mouse-over box to define the offset (y).
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.7
|
* @since 1.5.7
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -285,7 +264,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the color.
|
* Settings Container Key for the mouse-over box to define the color.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -294,7 +272,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the background color.
|
* Settings Container Key for the mouse-over box to define the background color.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -303,7 +280,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the border width.
|
* Settings Container Key for the mouse-over box to define the border width.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -312,7 +288,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the border color.
|
* Settings Container Key for the mouse-over box to define the border color.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -321,7 +296,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the border radius.
|
* Settings Container Key for the mouse-over box to define the border radius.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -330,7 +304,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the max. width.
|
* Settings Container Key for the mouse-over box to define the max. width.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -339,7 +312,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the mouse-over box to define the box-shadow color.
|
* Settings Container Key for the mouse-over box to define the box-shadow color.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.8
|
* @since 1.5.8
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -348,7 +320,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the backlink symbol selection.
|
* Settings Container Key for the backlink symbol selection.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -357,7 +328,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the user-defined backlink symbol.
|
* Settings Container Key for the user-defined backlink symbol.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -366,7 +336,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key for the Custom CSS.
|
* Settings Container Key for the Custom CSS.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var str
|
* @var str
|
||||||
*
|
*
|
||||||
|
@ -401,7 +370,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the 'the_title' hook.
|
* Settings Container Key to enable the 'the_title' hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -410,7 +378,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the 'the_content' hook.
|
* Settings Container Key to enable the 'the_content' hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -419,7 +386,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the 'the_excerpt' hook.
|
* Settings Container Key to enable the 'the_excerpt' hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -428,7 +394,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the 'widget_title' hook.
|
* Settings Container Key to enable the 'widget_title' hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -437,7 +402,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Settings Container Key to enable the 'widget_text' hook.
|
* Settings Container Key to enable the 'widget_text' hook.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.5
|
* @since 1.5.5
|
||||||
* @var str
|
* @var str
|
||||||
*/
|
*/
|
||||||
|
@ -810,7 +774,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Stores a singleton reference of this class.
|
* Stores a singleton reference of this class.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var MCI_Footnotes_Settings
|
* @var MCI_Footnotes_Settings
|
||||||
*/
|
*/
|
||||||
|
@ -819,7 +782,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Contains all Settings Container names.
|
* Contains all Settings Container names.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var array
|
* @var array
|
||||||
*
|
*
|
||||||
|
@ -838,7 +800,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Contains all Default Settings for each Settings Container.
|
* Contains all Default Settings for each Settings Container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var array
|
* @var array
|
||||||
*
|
*
|
||||||
|
@ -1074,7 +1035,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Contains all Settings from each Settings container as soon as this class is initialized.
|
* Contains all Settings from each Settings container as soon as this class is initialized.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -1083,7 +1043,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Class Constructor. Loads all Settings from each WordPress Settings container.
|
* Class Constructor. Loads all Settings from each WordPress Settings container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function __construct() {
|
private function __construct() {
|
||||||
|
@ -1093,7 +1052,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Returns a singleton of this class.
|
* Returns a singleton of this class.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @return MCI_Footnotes_Settings
|
* @return MCI_Footnotes_Settings
|
||||||
*/
|
*/
|
||||||
|
@ -1109,7 +1067,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Returns the name of a specified Settings Container.
|
* Returns the name of a specified Settings Container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param int $p_int_index Settings Container Array Key Index.
|
* @param int $p_int_index Settings Container Array Key Index.
|
||||||
* @return str Settings Container name.
|
* @return str Settings Container name.
|
||||||
|
@ -1121,7 +1078,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Returns the default values of a specific Settings Container.
|
* Returns the default values of a specific Settings Container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @param int $p_int_index Settings Container Aray Key Index.
|
* @param int $p_int_index Settings Container Aray Key Index.
|
||||||
* @return array
|
* @return array
|
||||||
|
@ -1133,7 +1089,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Loads all Settings from each Settings container.
|
* Loads all Settings from each Settings container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
private function load_all() {
|
private function load_all() {
|
||||||
|
@ -1148,7 +1103,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Loads all Settings from specified Settings Container.
|
* Loads all Settings from specified Settings Container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param int $p_int_index Settings Container Array Key Index.
|
* @param int $p_int_index Settings Container Array Key Index.
|
||||||
* @return array Settings loaded from Container of Default Settings if Settings Container is empty (first usage).
|
* @return array Settings loaded from Container of Default Settings if Settings Container is empty (first usage).
|
||||||
|
@ -1189,7 +1143,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Updates a whole Settings container.
|
* Updates a whole Settings container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param int $p_int_index Index of the Settings container.
|
* @param int $p_int_index Index of the Settings container.
|
||||||
* @param array $p_arr_new_values new Settings.
|
* @param array $p_arr_new_values new Settings.
|
||||||
|
@ -1206,7 +1159,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Returns the value of specified Settings name.
|
* Returns the value of specified Settings name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_key Settings Array Key name.
|
* @param string $p_str_key Settings Array Key name.
|
||||||
* @return mixed Value of the Setting on Success or Null in Settings name is invalid.
|
* @return mixed Value of the Setting on Success or Null in Settings name is invalid.
|
||||||
|
@ -1218,7 +1170,6 @@ class MCI_Footnotes_Settings {
|
||||||
/**
|
/**
|
||||||
* Deletes each Settings Container and loads the default values for each Settings Container.
|
* Deletes each Settings Container and loads the default values for each Settings Container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* Edit: This didn’t actually work.
|
* Edit: This didn’t actually work.
|
||||||
|
@ -1241,7 +1192,6 @@ class MCI_Footnotes_Settings {
|
||||||
* Register all Settings Container for the Plugin Settings Page in the Dashboard.
|
* Register all Settings Container for the Plugin Settings Page in the Dashboard.
|
||||||
* Settings Container Label will be the same as the Settings Container Name.
|
* Settings Container Label will be the same as the Settings Container Name.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function register_settings() {
|
public function register_settings() {
|
||||||
|
|
|
@ -88,7 +88,6 @@ defined( 'ABSPATH' ) or die;
|
||||||
* Searches and replaces the footnotes.
|
* Searches and replaces the footnotes.
|
||||||
* Generates the reference container.
|
* Generates the reference container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Task {
|
class MCI_Footnotes_Task {
|
||||||
|
@ -100,7 +99,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Contains all footnotes found on current public page.
|
* Contains all footnotes found on current public page.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
|
@ -109,7 +107,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
|
* Flag if the display of 'LOVE FOOTNOTES' is allowed on the current public page.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var bool
|
* @var bool
|
||||||
*/
|
*/
|
||||||
|
@ -118,7 +115,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Prefix for the Footnote html element ID.
|
* Prefix for the Footnote html element ID.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.8
|
* @since 1.5.8
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -171,7 +167,6 @@ class MCI_Footnotes_Task {
|
||||||
* @since 2.4.0
|
* @since 2.4.0
|
||||||
* @date 2021-01-04T1355+0100
|
* @date 2021-01-04T1355+0100
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*
|
*
|
||||||
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
* @link https://wordpress.org/support/topic/template-override-filter/#post-13864301
|
||||||
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
* @link https://github.com/misfist/footnotes/releases/tag/2.4.0d3 repository
|
||||||
|
@ -347,7 +342,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Register WordPress Hooks to replace Footnotes in the content of a public page.
|
* Register WordPress Hooks to replace Footnotes in the content of a public page.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @since 1.5.4 Adding: Hooks: support 'the_post' in response to user request for custom post types.
|
* @since 1.5.4 Adding: Hooks: support 'the_post' in response to user request for custom post types.
|
||||||
|
@ -560,7 +554,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Outputs the custom css to the header of the public page.
|
* Outputs the custom css to the header of the public page.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @since 2.1.1 Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report.
|
* @since 2.1.1 Bugfix: Reference container: fix start pages by making its display optional, thanks to @dragon013 bug report.
|
||||||
|
@ -936,7 +929,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Displays the 'LOVE FOOTNOTES' slug if enabled.
|
* Displays the 'LOVE FOOTNOTES' slug if enabled.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @since 2.2.0 more options 2020-12-11T0506+0100
|
* @since 2.2.0 more options 2020-12-11T0506+0100
|
||||||
|
@ -988,7 +980,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in the post/page title.
|
* Replaces footnotes in the post/page title.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Widget content.
|
* @param string $p_str_content Widget content.
|
||||||
* @return string Content with replaced footnotes.
|
* @return string Content with replaced footnotes.
|
||||||
|
@ -1001,7 +992,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in the content of the current page/post.
|
* Replaces footnotes in the content of the current page/post.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Page/Post content.
|
* @param string $p_str_content Page/Post content.
|
||||||
* @return string Content with replaced footnotes.
|
* @return string Content with replaced footnotes.
|
||||||
|
@ -1014,7 +1004,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in the excerpt of the current page/post.
|
* Replaces footnotes in the excerpt of the current page/post.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Page/Post content.
|
* @param string $p_str_content Page/Post content.
|
||||||
* @return string Content with replaced footnotes.
|
* @return string Content with replaced footnotes.
|
||||||
|
@ -1026,7 +1015,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in the widget title.
|
* Replaces footnotes in the widget title.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Widget content.
|
* @param string $p_str_content Widget content.
|
||||||
* @return string Content with replaced footnotes.
|
* @return string Content with replaced footnotes.
|
||||||
|
@ -1039,7 +1027,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in the content of the current widget.
|
* Replaces footnotes in the content of the current widget.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Widget content.
|
* @param string $p_str_content Widget content.
|
||||||
* @return string Content with replaced footnotes.
|
* @return string Content with replaced footnotes.
|
||||||
|
@ -1052,7 +1039,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces footnotes in each Content var of the current Post object.
|
* Replaces footnotes in each Content var of the current Post object.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.4
|
* @since 1.5.4
|
||||||
* @param array|WP_Post $p_mixed_posts
|
* @param array|WP_Post $p_mixed_posts
|
||||||
*/
|
*/
|
||||||
|
@ -1071,7 +1057,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replace all Footnotes in a WP_Post object.
|
* Replace all Footnotes in a WP_Post object.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.6
|
* @since 1.5.6
|
||||||
* @param WP_Post $p_obj_post
|
* @param WP_Post $p_obj_post
|
||||||
* @return WP_Post
|
* @return WP_Post
|
||||||
|
@ -1087,7 +1072,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces all footnotes that occur in the given content.
|
* Replaces all footnotes that occur in the given content.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Any string that may contain footnotes to be replaced.
|
* @param string $p_str_content Any string that may contain footnotes to be replaced.
|
||||||
* @param bool $p_bool_output_references Appends the Reference Container to the output if set to true, default true.
|
* @param bool $p_bool_output_references Appends the Reference Container to the output if set to true, default true.
|
||||||
|
@ -1161,7 +1145,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Replaces all footnotes in the given content and appends them to the static property.
|
* Replaces all footnotes in the given content and appends them to the static property.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_content Content to be searched for footnotes.
|
* @param string $p_str_content Content to be searched for footnotes.
|
||||||
* @param bool $p_bool_convert_html_chars html encode settings, default true.
|
* @param bool $p_bool_convert_html_chars html encode settings, default true.
|
||||||
|
@ -1783,7 +1766,6 @@ class MCI_Footnotes_Task {
|
||||||
/**
|
/**
|
||||||
* Generates the reference container.
|
* Generates the reference container.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @return string
|
* @return string
|
||||||
*
|
*
|
||||||
|
|
|
@ -32,7 +32,6 @@
|
||||||
* Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
|
* Handles each Template file for the Plugin Frontend (e.g. Settings Dashboard, Public pages, ...).
|
||||||
* Loads a template file, replaces all Placeholders and returns the replaced file content.
|
* Loads a template file, replaces all Placeholders and returns the replaced file content.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_Template {
|
class MCI_Footnotes_Template {
|
||||||
|
@ -40,7 +39,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Directory name for dashboard templates.
|
* Directory name for dashboard templates.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -49,7 +47,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Directory name for public templates.
|
* Directory name for public templates.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -58,7 +55,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Contains the content of the template after initialize.
|
* Contains the content of the template after initialize.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -67,7 +63,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Contains the content of the template after initialize with replaced place holders.
|
* Contains the content of the template after initialize with replaced place holders.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
|
@ -76,7 +71,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Plugin Directory
|
* Plugin Directory
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
* @var string
|
* @var string
|
||||||
|
@ -86,7 +80,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Class Constructor. Reads and loads the template file without replace any placeholder.
|
* Class Constructor. Reads and loads the template file without replace any placeholder.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param string $p_str_file_type Template file type (take a look on the Class constants).
|
* @param string $p_str_file_type Template file type (take a look on the Class constants).
|
||||||
* @param string $p_str_file_name Template file name inside the Template directory without the file extension.
|
* @param string $p_str_file_name Template file name inside the Template directory without the file extension.
|
||||||
|
@ -109,7 +102,6 @@ class MCI_Footnotes_Template {
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*/
|
*/
|
||||||
$this->plugin_directory = plugin_dir_path( dirname( __FILE__ ) );
|
$this->plugin_directory = plugin_dir_path( dirname( __FILE__ ) );
|
||||||
|
|
||||||
|
@ -118,7 +110,6 @@ class MCI_Footnotes_Template {
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*/
|
*/
|
||||||
if ( $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ) ) {
|
if ( $template = $this->get_template( $p_str_file_type, $p_str_file_name, $p_str_extension ) ) {
|
||||||
$this->process_template( $template );
|
$this->process_template( $template );
|
||||||
|
@ -131,7 +122,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Replace all placeholders specified in array.
|
* Replace all placeholders specified in array.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param array $p_arr_placeholders Placeholders (key = placeholder, value = value).
|
* @param array $p_arr_placeholders Placeholders (key = placeholder, value = value).
|
||||||
* @return bool True on Success, False if Placeholders invalid.
|
* @return bool True on Success, False if Placeholders invalid.
|
||||||
|
@ -156,7 +146,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Reloads the original content of the template file.
|
* Reloads the original content of the template file.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public function reload() {
|
public function reload() {
|
||||||
|
@ -166,7 +155,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Returns the content of the template file with replaced placeholders.
|
* Returns the content of the template file with replaced placeholders.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @return string Template content with replaced placeholders.
|
* @return string Template content with replaced placeholders.
|
||||||
*/
|
*/
|
||||||
|
@ -177,7 +165,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Process template file
|
* Process template file
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
|
@ -204,7 +191,6 @@ class MCI_Footnotes_Template {
|
||||||
/**
|
/**
|
||||||
* Get the template
|
* Get the template
|
||||||
*
|
*
|
||||||
* @author Patrizia Lutz @misfist
|
|
||||||
*
|
*
|
||||||
* @since 2.4.0d3
|
* @since 2.4.0d3
|
||||||
*
|
*
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
class MCI_Footnotes_WYSIWYG {
|
class MCI_Footnotes_WYSIWYG {
|
||||||
|
@ -28,7 +27,6 @@ class MCI_Footnotes_WYSIWYG {
|
||||||
/**
|
/**
|
||||||
* Append a new Button to the WYSIWYG editor of Posts and Pages.
|
* Append a new Button to the WYSIWYG editor of Posts and Pages.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param array $p_arr_buttons pre defined Buttons from WordPress.
|
* @param array $p_arr_buttons pre defined Buttons from WordPress.
|
||||||
* @return array
|
* @return array
|
||||||
|
@ -41,7 +39,6 @@ class MCI_Footnotes_WYSIWYG {
|
||||||
/**
|
/**
|
||||||
* Add a new button to the plain text editor.
|
* Add a new button to the plain text editor.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function new_plain_text_editor_button() {
|
public static function new_plain_text_editor_button() {
|
||||||
|
@ -52,7 +49,6 @@ class MCI_Footnotes_WYSIWYG {
|
||||||
/**
|
/**
|
||||||
* Includes the Plugins WYSIWYG editor script.
|
* Includes the Plugins WYSIWYG editor script.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
* @param array $p_arr_plugins Scripts to be included to the editor.
|
* @param array $p_arr_plugins Scripts to be included to the editor.
|
||||||
* @return array
|
* @return array
|
||||||
|
@ -66,7 +62,6 @@ class MCI_Footnotes_WYSIWYG {
|
||||||
* AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
|
* AJAX Callback function when the Footnotes Button is clicked. Either in the Plain text or Visual editor.
|
||||||
* Returns an JSON encoded array with the Footnotes start and end short code.
|
* Returns an JSON encoded array with the Footnotes start and end short code.
|
||||||
*
|
*
|
||||||
* @author Stefan Herndler
|
|
||||||
* @since 1.5.0
|
* @since 1.5.0
|
||||||
*/
|
*/
|
||||||
public static function ajax_callback() {
|
public static function ajax_callback() {
|
||||||
|
|
Reference in a new issue