diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php index 8be5dcd..7c19629 100644 --- a/class/dashboard/subpage-main.php +++ b/class/dashboard/subpage-main.php @@ -12,7 +12,7 @@ * 2.1.1 options for ref container and alternative tooltips 2020-11-16T2152+0100 * 2.1.4 settings for ref container and tooltips 2020-12-03T0950+0100 * - * Last modified: 2020-12-03T1359+0100 + * Last modified: 2020-12-04T0206+0100 */ /** @@ -561,11 +561,11 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { $l_obj_Template->replace( array( - "description-1" => __("The priority level determines whether Footnotes is executed timely before other plugins, and how the reference container is positioned relative to other features", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), - "description-2" => __("Default 9223372036854775807 is lowest priority, 0 is highest", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), - "description-3" => __("To restore default priority, set to -1, interpreted as 9223372036854775807, the constant PHP_INT_MAX", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), - "description-4" => __("For the_content, this figure needs to be lower than 1200 to make sure that a feature inserted by another plugin running at 1200 displays below the reference container", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), - "description-5" => __("The widget_text hook must be disabled, because a footnotes container is inserted at the bottom of each widget, but multiple containers in a page are not disambiguated", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-1" => __("The priority level determines whether Footnotes is executed timely before other plugins, and how the reference container is positioned relative to other features.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-2" => __("Default 9223372036854775807 is lowest priority, 0 is highest.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-3" => __("To restore default priority, set to -1, interpreted as 9223372036854775807, the constant PHP_INT_MAX.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-4" => __("For the_content, this figure needs to be lower than 1200 to make sure that the reference container displays above features inserted by other plugins running at 1200 or a greater/lower level, later in the process.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-5" => __("The widget_text hook must be disabled, because a footnotes container is inserted at the bottom of each widget, but multiple containers in a page are not disambiguated.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "head-hook" => __("WordPress hook function name", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "head-checkbox" => __("Activate", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), diff --git a/class/settings.php b/class/settings.php index 812eed4..dbf149c 100644 --- a/class/settings.php +++ b/class/settings.php @@ -555,9 +555,12 @@ class MCI_Footnotes_Settings { // the current line of text (web coordinates origin is top left): self::C_INT_FOOTNOTES_MOUSE_OVER_BOX_OFFSET_Y => -7, - self::C_BOOL_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'no', - self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => '0.6', - self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'em', + // tooltip font size reset to legacy by default since 2.1.4; + // was set to inherit since 2.1.1 as it overrode custom CSS, + // is moved to settings since 2.1.4 2020-12-04T1023+0100 + self::C_BOOL_MOUSE_OVER_BOX_FONT_SIZE_ENABLED => 'yes', + self::C_FLO_MOUSE_OVER_BOX_FONT_SIZE_SCALAR => '13', + self::C_STR_MOUSE_OVER_BOX_FONT_SIZE_UNIT => 'px', self::C_STR_FOOTNOTES_MOUSE_OVER_BOX_COLOR => '', // The mouse over box shouldn’t feature a colored background diff --git a/css/public.css b/css/public.css index 8442b88..4329726 100755 --- a/css/public.css +++ b/css/public.css @@ -4,9 +4,9 @@ * Created-Date: 15.05.14 * Created-Time: 16:21 * Since: 1.0 - * Version: 2.1.4d8 + * Version: 2.1.4d9 * - * Last modified: 2020-12-03T1834+0100 + * Last modified: 2020-12-04T0202+0100 */ diff --git a/css/settings.css b/css/settings.css index 6951ae2..829dcdb 100755 --- a/css/settings.css +++ b/css/settings.css @@ -4,9 +4,9 @@ * Created-Date: 15.05.14 * Created-Time: 16:21 * Since: 1.0 - * Version: 2.1.4d8 + * Version: 2.1.4d9 * - * Last modified: 2020-12-03T1834+0100 + * Last modified: 2020-12-04T0201+0100 */ @@ -148,10 +148,10 @@ IE doesn’t support nth child, but these are not critical width: 30%; } -.footnotes-description { +.footnotes_description { padding: 0 10%; } -.footnotes-description p { +.footnotes_description p { font-size: 1.4em; font-style: italic; } diff --git a/footnotes.php b/footnotes.php index 32ba231..66133d9 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.1.4d8 + Version: 2.1.4d9 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages */ -define( 'FOOTNOTES_VERSION', '2.1.4d8' ); +define( 'FOOTNOTES_VERSION', '2.1.4d9' ); /* Copyright 2020 Mark Cheret (email: mark@cheret.de) diff --git a/readme.txt b/readme.txt index 9e3913f..1bf6071 100755 --- a/readme.txt +++ b/readme.txt @@ -80,24 +80,23 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** == Changelog == -= 2.1.4d8 = -- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top += 2.1.4d9 = +- Bugfix: Reference container: fix layout issues by moving backlink column width to settings +- Bugfix: Reference container: separating and terminating punctuation optional and customizable +- Bugfix: Styling: Tooltips: fix font size issue by moving it to settings and default it to legacy +- Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations - Bugfix: Dashboard: move arrow settings from Customize to Settings > Reference container to reunite and fix issue with new heading wording +- Bugfix: Dashboard: Main settings: fix layout, raise shortcodes to top - Bugfix: Dashboard: Other settings: Excerpt: display guidance next to select box - Bugfix: Layout: Tooltips: prevent line break in Read-on link label - Bugfix: Reference container, tooltips: fix line wrapping of URLs based on pattern, not link element - Bugfix: Reference container: Backlink symbol: support for appending when combining identicals is on - Bugfix: Reference container: Backlinks: deprioritize hover underline to ease customization - Bugfix: Reference container: Backlinks: fix line breaking with respect to separators and terminators -- Bugfix: Reference container: Backlinks: options to disable separators and terminators -- Bugfix: Reference container: Backlinks: optional line breaks to stack enumerations -- Bugfix: Reference container: fix layout issues by moving backlink column width to settings - Bugfix: Reference container: Label: delete overflow hidden rule -- Bugfix: Reference container: separating and terminating punctuation optional and customizable - Bugfix: Reference container: Styles: re-add the class dedicated to combined footnotes indices - Bugfix: Styling: Referrers and backlinks: make link elements optional to fix issues - Bugfix: Styling: Referrers: disable hover underline -- Bugfix: Styling: Tooltips: fix font size issue by moving it to settings, defaulting to inherit - Bugfix: WordPress hooks: the_content: set priority to 1000 as a safeguard - Update: Dashboard: Expert mode: streamline and update description for hooks and priority levels diff --git a/templates/dashboard/expert-lookup.html b/templates/dashboard/expert-lookup.html index cea8679..368db89 100644 --- a/templates/dashboard/expert-lookup.html +++ b/templates/dashboard/expert-lookup.html @@ -1,7 +1,7 @@ -
-

[[description-1]].

-

[[description-2]]. [[description-3]].

-

[[description-4]]. [[description-5]].

+
+

[[description-1]]

+

[[description-2]] [[description-3]]

+

[[description-4]]

@@ -45,3 +45,6 @@
+
+

[[description-5]]

+