+ // returns the stylesheet’s folder name, not the actual style sheet:
$l_str_TemplateFile .= get_stylesheet();
$l_str_TemplateFile .= "/templates/footnotes/" . $p_str_FileName . "." . $p_str_Extension;
@@ -116,7 +119,7 @@ class MCI_Footnotes_Template {
}
}
- // minify template to some extent:
+ // minify template content to some extent:
// get Template file content
$this->a_str_OriginalContent = str_replace("\n", "", file_get_contents($l_str_TemplateFile));
$this->a_str_OriginalContent = str_replace("\r", "", $this->a_str_OriginalContent);
diff --git a/css/public.css b/css/public.css
index 7233a76..8a12f6a 100755
--- a/css/public.css
+++ b/css/public.css
@@ -5,7 +5,10 @@
* Created-Time: 16:21
* Since: 1.0
*
- * Version: 2.3.1
+ * Version: 2.4.0
+ *
+ * Last modified: 2021-01-02T1203+0100
+ *
*
* Classes added to public.css may be added to the
* list documenting CSS classes for Custom CSS if
@@ -20,9 +23,7 @@
* @since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons
* @see
* @since 2.3.0 offset anchors for optional hard links
- * @since 2.3.1 validation error warning box
- *
- * Last modified: 2021-01-01T0642+0100
+ * @since 2.4.0 validation error warning box
*/
@@ -65,7 +66,7 @@ post title, populated with the first instance of a
content snippet preceded by an unbalanced start tag
short code.
-@since 2.3.1
+@since 2.4.0
*/
.footnotes_validation_error {
@@ -268,8 +269,9 @@ Classes:
.footnote_plugin_index_combi = first if identical footnotes are combined
.footnote_plugin_index = first | if not
.footnote_index = or in first | in 3-column table
-.footnote_plugin_link = or if identical footnotes are not combined, or second | in 3-column table
-.footnote_backlink = or if identical footnotes are combined, or in second | in 3-column table
+.footnote_plugin_symbol = second | in 3-column table
+.footnote_plugin_link = or (identical footnotes not combined)
+.footnote_backlink = or
.footnote_index_arrow = nested , symbol only
.footnote_plugin_text = second | , or third | in 3-column table
*/
@@ -342,7 +344,7 @@ enforced borderless table cells with !important property, thanks to @ragonesi
*/
.footnote_plugin_index,
.footnote_plugin_index_combi,
-.footnote_plugin_link,
+.footnote_plugin_symbol,
.footnote_plugin_text {
border: none !important;
text-align: left !important;
diff --git a/css/settings.css b/css/settings.css
index 6078fe0..1d6c5d7 100755
--- a/css/settings.css
+++ b/css/settings.css
@@ -5,9 +5,9 @@
* Created-Time: 16:21
* Since: 1.0
*
- * Version: 2.3.0
+ * Version: 2.4.0
*
- * Last modified: 2020-12-31T1026+0100
+ * Last modified: 2021-01-02T1204+0100
*/
diff --git a/footnotes.php b/footnotes.php
index 1c53bee..c03cbfa 100755
--- a/footnotes.php
+++ b/footnotes.php
@@ -4,12 +4,12 @@
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.
Author: Mark Cheret
- Version: 2.3.1d2
+ Version: 2.4.0d0
Author URI: http://cheret.de/plugins/footnotes-2/
Text Domain: footnotes
Domain Path: /languages
*/
-define( 'FOOTNOTES_VERSION', '2.3.1d2' );
+define( 'FOOTNOTES_VERSION', '2.4.0d0' );
/*
Copyright 2020 Mark Cheret (email: mark@cheret.de)
diff --git a/readme.txt b/readme.txt
index 95c1834..ffab71d 100755
--- a/readme.txt
+++ b/readme.txt
@@ -80,9 +80,14 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
== Changelog ==
-= 2.3.1 =
-- Bugfix: Customization: support for custom templates in active theme, thanks to @misfist
-- Bugfix: Shortcodes: syntax validation for balanced footnote start and end tag short codes
+= 2.4.0 =
+- Bugfix: Shortcodes: Dashboard: warning about '>' escapement disruption in WordPress Block Editor
+- Bugfix: Shortcodes: Dashboard: remove new option involving HTML comment tags only usable in source mode
+- Add: Customization: support for custom templates in active theme, thanks to @misfist
+- Add: Shortcodes: syntax validation for balanced footnote start and end tag short codes
+- Add: Reference container: Row borders: more options for border width, style and color
+- Bugfix: Reference container: Row borders: adapt left padding to the presence of a left border
+- Bugfix: Reference container: add class footnote_plugin_symbol to disambiguate repurposed class footnote_plugin_link
= 2.3.0 =
- Add: optional hard links in referrers and backlinks for AMP compatibility, thanks to @psykonevro and @martinneumannat
@@ -142,7 +147,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
- Add: Reference container: support for custom position shortcode, thanks to @hamshe
- Update: Priority levels: update the notice in the dashboard Priority tab
- Bugfix: Tooltips: add 'important' property to z-index to fix display overlay issue
-- Add: Start/end short codes: more predefined options, thanks to @nikelaos
+- Add: Start/end short codes: more predefined options
- Add: Numbering styles: lowercase Roman numerals support
- Update: Dashboard: Tooltip settings: grouped into 3 thematic containers
- Update: Dashboard: Main settings: grouped into 3 specific containers
diff --git a/templates/dashboard/customize-css-new.html b/templates/dashboard/customize-css-new.html
index 4ef3e3b..74b737b 100644
--- a/templates/dashboard/customize-css-new.html
+++ b/templates/dashboard/customize-css-new.html
@@ -20,7 +20,8 @@
.footnote_plugin_index_combi = first <td> if identical footnotes are combined
.footnote_plugin_index = first <td> if not
.footnote_index = <a> or <span> in first <td> in 3-column table
- .footnote_plugin_link = <a> or <span> if identical footnotes are not combined, or second <td> in 3-column table
+ .footnote_plugin_symbol = second <td> in 3-column table
+ .footnote_plugin_link = <a> or <span> if identical footnotes are not combined
.footnote_backlink = <a> or <span> if identical footnotes are combined, or in second <td> in 3-column table
.footnote_index_arrow = nested <span>, symbol only
.footnote_plugin_text = second <td>, or third <td> in 3-column table
diff --git a/templates/note-for-developers.txt b/templates/note-for-developers.txt
index db0dd37..ffedd1f 100644
--- a/templates/note-for-developers.txt
+++ b/templates/note-for-developers.txt
@@ -1,6 +1,7 @@
note-for-developers.txt
2020-12-19T0609+0100
-Last modified: 2021-01-01T2249+0100
+
+Last modified: 2021-01-02T1207+0100
Footnotes plugin for WordPress, v2.2.6 and later
@@ -10,7 +11,7 @@ Support for custom templates
Since v2.2.6, Footnotes supports custom templates.
Custom templates may be loaded from a sibling folder 'footnotes-custom'
-or since v2.3.1 from a folder 'templates/footnotes/' in the active theme.
+or since v2.4.0 from a folder 'templates/footnotes/' in the active theme.
Priority order:
1. active theme
diff --git a/templates/public/reference-container-body-3column.html b/templates/public/reference-container-body-3column.html
index 9a0889f..11dee83 100644
--- a/templates/public/reference-container-body-3column.html
+++ b/templates/public/reference-container-body-3column.html
@@ -10,7 +10,7 @@
>[[anchor-element]] |