From 2eaf22a30b254a3c68e8fadc1124b7793dd7e9c8 Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Tue, 24 Nov 2020 11:01:34 +0000 Subject: [PATCH] 2.1.3 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2424470 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/settings.php | 36 ++++++++++++++++++------------------ class/task.php | 10 +++++----- readme.txt | 2 +- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/class/settings.php b/class/settings.php index c968bcf..1a7f2ec 100644 --- a/class/settings.php +++ b/class/settings.php @@ -381,7 +381,7 @@ class MCI_Footnotes_Settings { * 2020-11-16T0859+0100 */ const C_BOOL_FOOTNOTES_REFERRER_SUPERSCRIPT_TAGS = "footnotes_inputfield_referrer_superscript_tags"; - + const C_BOOL_REFERENCE_CONTAINER_BACKLINK_SYMBOL_ENABLE = "footnotes_inputfield_reference_container_backlink_symbol_enable"; const C_BOOL_REFERENCE_CONTAINER_START_PAGE_ENABLE = "footnotes_inputfield_reference_container_start_page_enable"; const C_BOOL_REFERENCE_CONTAINER_3COLUMN_LAYOUT_ENABLE = "footnotes_inputfield_reference_container_3column_layout_enable"; @@ -441,7 +441,7 @@ class MCI_Footnotes_Settings { self::C_STR_FOOTNOTES_COUNTER_STYLE => 'arabic_plain', self::C_STR_FOOTNOTES_LOVE => 'no', self::C_BOOL_FOOTNOTES_IN_EXCERPT => 'no', - + // since removal of the_post hook, expert mode is no danger zone // not for experts only; raising awareness about relative positioning // changed default to 'yes': @@ -464,7 +464,7 @@ class MCI_Footnotes_Settings { self::C_STR_FOOTNOTES_STYLING_AFTER => ']', self::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED => 'yes', - + // alternative, low-script tooltips using CSS for transitions // in response to user demand for website with jQuery UI outage self::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE => 'no', @@ -513,25 +513,25 @@ class MCI_Footnotes_Settings { // Titles should all be enabled by default to prevent users from // thinking at first that the feature is broken in post titles. // See - // Yet in titles, footnotes are functionally pointless in WordPress. - self::C_BOOL_EXPERT_LOOKUP_THE_TITLE => '', - - // This is the only useful one: - self::C_BOOL_EXPERT_LOOKUP_THE_CONTENT => 'yes', - - // And the_excerpt is disabled by default following @nikelaos in - // - // - self::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT => '', - - self::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE => '', - - // disabled by default because of issues with footnotes in Elementor accordions: + // Yet in titles, footnotes are functionally pointless in WordPress. + self::C_BOOL_EXPERT_LOOKUP_THE_TITLE => '', + + // This is the only useful one: + self::C_BOOL_EXPERT_LOOKUP_THE_CONTENT => 'yes', + + // And the_excerpt is disabled by default following @nikelaos in + // + // + self::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT => '', + + self::C_BOOL_EXPERT_LOOKUP_WIDGET_TITLE => '', + + // disabled by default because of issues with footnotes in Elementor accordions: self::C_BOOL_EXPERT_LOOKUP_WIDGET_TEXT => '', // initially hard-coded default // shows "9223372036854775807" in the numbox - // empty should be interpreted as PHP_INT_MAX, + // empty should be interpreted as PHP_INT_MAX, // but a numbox cannot be set to empty: // define -1 as PHP_INT_MAX instead self::C_INT_EXPERT_LOOKUP_THE_TITLE_PRIORITY_LEVEL => PHP_INT_MAX, diff --git a/class/task.php b/class/task.php index 78485fe..0807493 100644 --- a/class/task.php +++ b/class/task.php @@ -17,7 +17,7 @@ * 2.1.1: options fixing ref container layout and referrer vertical alignment 2020-11-16T2024+0100 * 2.1.1: option fixing ref container relative position 2020-11-17T0254+0100 * 2.1.2: options for the other hooks 2020-11-19T1849+0100 - * + * * Last modified: 2020-11-24T0957+0100 */ @@ -67,14 +67,14 @@ class MCI_Footnotes_Task { * * Edited for: * 2.0.5 through v2.0.7 changes to priority 2020-11-02T0330+0100..2020-11-06T1344+0100 - * 2.1.1 add setting for the_content + * 2.1.1 add setting for the_content * 2.1.2 add settings for 4 other hooks 2020-11-19T1248+0100 * * Setting the_content priority to "10" instead of PHP_INT_MAX i.e. 9223372036854775807 * makes the footnotes reference container display beneath the post and above other * features added by other plugins, e.g. related post lists and social buttons. - * For YARPP to display related posts below the Footnotes reference container, - * priority needs to be at least 1200. + * For YARPP to display related posts below the Footnotes reference container, + * priority needs to be at least 1200. * Requested by users: * Documentation: * @@ -706,7 +706,7 @@ class MCI_Footnotes_Task { $l_str_FootnoteBacklinks .= 'onclick="footnote_moveToAnchor_' . $l_int_PostId; $l_str_FootnoteBacklinks .= "('footnote_plugin_tooltip_$l_int_PostId"; $l_str_FootnoteBacklinks .= "_$l_str_FootnoteId');\""; - $l_str_FootnoteBacklinks .= ">$l_str_FootnoteArrow$l_str_FootnoteId"; + $l_str_FootnoteBacklinks .= ">$l_str_FootnoteArrow$l_str_FootnoteId"; // this legacy is not used: //$l_str_FootnoteIndex .= ', ' . MCI_Footnotes_Convert::Index(($l_int_CheckIndex + 1), MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_STR_FOOTNOTES_COUNTER_STYLE)); diff --git a/readme.txt b/readme.txt index 2d72a3e..e4a9158 100755 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen Requires at least: 3.9 Tested up to: 5.5 Requires PHP: 5.6 -Stable Tag: 2.1.2 +Stable Tag: 2.1.3 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html