From c3c05153082c30dc525d4a35176086c41e21d8bf Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Mon, 18 Jan 2021 20:09:43 +0000 Subject: [PATCH] update for urgent bugfix, this: 2.5.1d0 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2458511 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/dashboard/subpage-main.php | 17 +-- class/task.php | 19 +++- css/public.css | 127 ++++++++++++++-------- css/settings.css | 4 +- footnotes.php | 4 +- readme.txt | 80 +++++++------- templates/public/reference-container.html | 2 +- 7 files changed, 155 insertions(+), 98 deletions(-) diff --git a/class/dashboard/subpage-main.php b/class/dashboard/subpage-main.php index e1714cd..05fc2ca 100644 --- a/class/dashboard/subpage-main.php +++ b/class/dashboard/subpage-main.php @@ -6,7 +6,7 @@ * @author Stefan Herndler * @since 1.5.0 14.09.14 14:47 * - * Last modified: 2021-01-07T2207+0100 + * Last modified: 2021-01-18T2102+0100 * * Edited: * @since 2.0.4 restore arrow settings 2020-11-01T0509+0100 @@ -350,8 +350,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { * @see * @since 2.4.0 added warning about Block Editor escapement disruption 2021-01-02T2324+0100 * @since 2.4.0 removed the HTML comment tag option 2021-01-02T2325+0100 - * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra - * @see + * @since 2.5.0 Shortcode syntax validation: add more information around the setting, thanks to @andreasra + * @see */ public function StartEnd() { // footnotes start tag short code options: @@ -636,7 +636,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { * * Edited: * @since 2.2.0 5 parts to address increased settings number - * @since 2.2.5 added position settings for the alternative tooltips + * @since 2.2.5 position settings for alternative tooltips */ public function MouseOverBox() { // options for Yes/No select box: @@ -653,7 +653,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { "label-enable" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, __("Display tooltips:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "enable" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ENABLED, $l_arr_Enabled), - "notice-enable" => __("Formatted text boxes allowing hyperlinks, displayed on mouse-over or on tap and hold.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "notice-enable" => __("Formatted text boxes allowing hyperlinks, displayed on mouse-over or tap and hold.", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "label-alternative" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, __("Display alternative tooltips:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "alternative" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_FOOTNOTES_MOUSE_OVER_BOX_ALTERNATIVE, $l_arr_Enabled), @@ -888,7 +888,8 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { * 2020-12-09T1113+0100 * * @since 2.2.2 migrate Custom CSS to a dedicated tab 2020-12-15T0506+0100 - * @since 2.3.0 say 'copy-paste' instead of 'cut and paste', since cutting is not needed 2020-12-27T1257+0100 + * @since 2.3.0 say 'copy-paste' instead of 'cut and paste' since cutting is not needed 2020-12-27T1257+0100 + * @since 2.5.1 mention validity while visible, thanks to @rkupadhya feedback */ public function CustomCSS() { // load template file @@ -898,7 +899,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { array( "label-css" => $this->addLabel(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS, __("Your existing Custom CSS code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "css" => $this->addTextArea(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS), - "description-css" => __('Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe. Please copy-paste the content into the new text area under the new tab.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-css" => __('Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe, and the code remains valid while visible. Please copy-paste the content into the new text area under the new tab.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), // CSS classes are listed in the template. // Localized notices are dropped to ease translators’ task. @@ -935,7 +936,7 @@ class MCI_Footnotes_Layout_Settings extends MCI_Footnotes_LayoutEngine { array( "label-css" => $this->addLabel(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS, __("Your existing Custom CSS code:", MCI_Footnotes_Config::C_STR_PLUGIN_NAME)), "css" => $this->addTextArea(MCI_Footnotes_Settings::C_STR_CUSTOM_CSS), - "description-css" => __('Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe. Please copy-paste the content into the new text area below.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), + "description-css" => __('Custom CSS migrates to a dedicated tab. This text area is intended to keep your data safe, and the code remains valid while visible. Please copy-paste the content into the new text area below. Set Show legacy to No. Save twice.', MCI_Footnotes_Config::C_STR_PLUGIN_NAME), "label-show-legacy" => $this->addLabel(MCI_Footnotes_Settings::C_BOOL_CUSTOM_CSS_LEGACY_ENABLE, "Show legacy Custom CSS settings containers:"), "show-legacy" => $this->addSelectBox(MCI_Footnotes_Settings::C_BOOL_CUSTOM_CSS_LEGACY_ENABLE, $l_arr_Enabled), diff --git a/class/task.php b/class/task.php index 93596f6..e7a5da2 100644 --- a/class/task.php +++ b/class/task.php @@ -114,8 +114,11 @@ * @since 2.5.0 Shortcode syntax validation: limit length of quoted string to 300 characters, thanks to @andreasra * @see * - * @since 2.5.0 Hooks: support the term_description hook, thanks to @vitaefit (bug report) and @misfist (hook name) + * @since 2.5.0 Hooks: support for footnotes on category pages, thanks to @vitaefit bug report, thanks to @misfist code contribution * @see + * + * @since 2.5.1 Hooks: support for footnotes in Popup Maker popups, thanks to @squatcher bug report + * @see */ // If called directly, abort: @@ -306,6 +309,10 @@ class MCI_Footnotes_Task { * @since 2.5.0 support for the term_description hook, thanks to @vitaefit bug report, thanks to @misfist code contribution * @see * + * Popup Maker popups: + * @since 2.5.1 support for the pum_popup_content hook, thanks to @squatcher bug report + * @see + * * Priority level: * @since 2.0.5 through v2.0.7 changes to priority 2020-11-02T0330+0100..2020-11-06T1344+0100 * @since 2.1.1 add setting for the_content @@ -352,11 +359,17 @@ class MCI_Footnotes_Task { // custom priority level for reference container relative positioning; default 98: if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_CONTENT))) { - add_filter('the_content', array($this, "the_content"), $p_int_TheContentPriority); + add_filter('the_content', array($this, "the_content"), $p_int_TheContentPriority); + // HOOK FOR CATEGORY PAGES: // 2021-01-05T1402+0100 // see - add_filter('term_description', array($this, "the_content"), $p_int_TheContentPriority); + add_filter('term_description', array($this, "the_content"), $p_int_TheContentPriority); + + // HOOK FOR POPUP MAKER POPUPS: + // 2021-01-18T2038+0100 + // see + add_filter('pum_popup_content', array($this, "the_content"), $p_int_TheContentPriority); } if (MCI_Footnotes_Convert::toBool(MCI_Footnotes_Settings::instance()->get(MCI_Footnotes_Settings::C_BOOL_EXPERT_LOOKUP_THE_EXCERPT))) { diff --git a/css/public.css b/css/public.css index 025adf4..c3c6328 100755 --- a/css/public.css +++ b/css/public.css @@ -4,43 +4,38 @@ * Created-Date: 15.05.14 * Created-Time: 16:21 * Since: 1.0 - * - * Version: 2.6.0 - * - * Last modified: 2021-01-14T2351+0100 - * - * - * Classes added to public.css may be added to the - * list documenting CSS classes for Custom CSS if - * recommended for general use. - * List in templates/dashboard/customize-css-new.html - * - * - * Edited for 2.0.0 - * - * @since 2.0.1 enforced borderless table cells with !important property, thanks to @ragonesi bug report - * @see - * - * @since 2.1.1 line height 0 for (superscript) referrers, thanks to @cwbayer bug report - * @see - * - * @since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons feedback - * @see - * - * @since 2.3.0 offset anchors for optional hard links, thanks to @psychonevro @martinneumannat bug reports - * @see - * @see - * - * @since 2.4.0 validation error warning box - * @since 2.5.0 validation error warning box more paragraphs */ +/* Version: 2.5.1 + +Last modified: 2021-01-18T2051+0100 + + + Classes recommended for Custom CSS are listed in + templates/dashboard/customize-css-new.html + + +Edited: + +@since 2.0.0 Referrers: vertical align: lower from top: 0.4em to top: 0.6em +@since 2.0.0 Tooltips: Font size: set to inherit instead of 13px +@since 2.0.0 Tooltips: Continue button: apply distinctive font color and font style +@since 2.0.0 Tooltips: fix bug displaying content inline when page is printed, thanks to @gernsheim bug report +@since 2.0.0 Reference container: Collapse button: fix text decoration +@since 2.0.1 enforce borderless table cells through !important property, thanks to @ragonesi bug report +@since 2.1.1 Referrers: line height 0 to fix superscript, thanks to @cwbayer bug report +@since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons feedback +@since 2.3.0 offset anchors for optional hard links, thanks to @psychonevro @martinneumannat bug reports +@since 2.4.0 validation error warning box +@since 2.5.0 validation error warning box more paragraphs +*/ + /***************************************************** MCI Footnotes logo The classes with 'heading' fix display in dashboard, -where since WordPress 5.5 settings box labels with +where since WordPress 5.5 settings box labels with spans are displayed as justified and not last line. class/config.php @@ -53,10 +48,12 @@ css/settings.css text-decoration: none; font-weight: normal; } + .footnotes_logo_part1, .footnotes_logo_part1_heading { color: #2bb975; } + .footnotes_logo_part2, .footnotes_logo_part2_heading { color: #545f5a; @@ -70,7 +67,7 @@ significantly alters the post display and may cause an issue with missing content or footnotes, while it may be hard to detect in long posts and under deadline. -A validation check displays a warning box below the +A validation check displays a warning box below the post title, populated with 300 characters of contente preceded by the first unbalanced start tag short code. @@ -80,8 +77,8 @@ preceded by the first unbalanced start tag short code. .footnotes_validation_error { border: 4px solid red; - padding: 20px 40px; - margin: 20px 0; + padding: 20px 40px; + margin: 20px 0; background: #ff000055; text-align: start; } @@ -110,8 +107,8 @@ preceded by the first unbalanced start tag short code. Long URLs in Unicode-non-compliant user agents Unicode recommends to break URLs at slashes, but -some browsers don’t, so we need to prevent URLs -from expanding the reference container in mobile view, +some browsers don’t, so we need to prevent URLs +from expanding the reference container in mobile view, or from hanging out of the tooltip even on desktop. Based on pattern, not link element, since some URLs @@ -136,6 +133,10 @@ word-break: break-all; Optional hard links Anchors with scroll offset + +@since 2.3.0 offset anchors for optional hard links, thanks to @psychonevro @martinneumannat bug reports +@see +@see */ .footnote_item_base, @@ -159,6 +160,9 @@ Classes: .footnote_referrer = enclosing .footnote_plugin_tooltip_text = inner .footnote_tooltip = inner + +@since 2.1.1 Referrers: line height 0 to fix superscript, thanks to @cwbayer bug report +@see */ .footnote_referrer, @@ -191,8 +195,9 @@ Classes: tooltips @since 2.1.6 set z-index to maximum 2147483647 to address display issues with overlay content, thanks to @russianicons -@see +@see */ + .footnote_tooltip { display: none; z-index: 2147483647 !important; @@ -207,9 +212,11 @@ tooltips /* alternative tooltip implementation */ + .footnote_referrer.relative { position: relative; } + .footnote_tooltip.position { display: unset; position: absolute; @@ -217,9 +224,11 @@ alternative tooltip implementation left: -50px; width: 400px; } + /* fade-in parameters */ + .footnote_tooltip.shown { visibility: visible; opacity: 1; @@ -231,9 +240,11 @@ property values of settings are inline CSS transition-duration: 200ms; */ } + /* fade-out parameters */ + .footnote_tooltip.hidden { visibility: hidden; opacity: 0; @@ -249,6 +260,7 @@ property values of settings are inline CSS /* Read-on button */ + .footnote_tooltip_continue { font-style: italic; color: green; @@ -256,6 +268,7 @@ Read-on button cursor: pointer; white-space: nowrap; } + .footnote_tooltip_continue:hover { color: blue; text-decoration: underline !important; @@ -299,10 +312,12 @@ Classes: /* label */ + .footnote_container_prepare { display: block !important; padding-top: 24px !important; } + .footnote_container_prepare > p { line-height: 1.3 !important; margin-top: 1em !important; @@ -318,6 +333,7 @@ label text-align: left !important; vertical-align: middle; } + .footnote_container_prepare > p > span:first-child { text-align: left !important; font-size: 1.5em !important; @@ -327,6 +343,7 @@ label collapse button fully clickable, not sign only */ + .footnote_reference_container_collapse_button { cursor: pointer; padding: 0 0.5em; @@ -334,6 +351,7 @@ fully clickable, not sign only vertical-align: 2px; text-decoration: none !important; } + h2 > .footnote_reference_container_collapse_button, h3 > .footnote_reference_container_collapse_button, h4 > .footnote_reference_container_collapse_button, @@ -341,6 +359,7 @@ h5 > .footnote_reference_container_collapse_button, h6 > .footnote_reference_container_collapse_button { font-size: inherit !important; } + .footnote_container_prepare > p > span:last-child a, .footnote_reference_container_collapse_button a { text-decoration: none !important; @@ -349,6 +368,7 @@ h6 > .footnote_reference_container_collapse_button { /* table */ + .footnote-reference-container, .footnotes_table { width: 100%; @@ -358,10 +378,12 @@ table /* footnotes -enforced borderless table cells with !important property, thanks to @ragonesi -@since 2.0.1 +@since 2.0.0 borderless table cells, thanks to @ragonesi bug report +@see +@since 2.0.1 enforce borderless text cells through !important property, thanks to @ragonesi bug report @see */ + .footnote_plugin_index, .footnote_plugin_index_combi, .footnote_plugin_symbol, @@ -371,6 +393,7 @@ enforced borderless table cells with !important property, thanks to @ragonesi vertical-align: top !important; padding: 5px 6px 10px 0 !important; } + .footnote_backlink, .footnote_backlink:link, .footnote_plugin_link, @@ -382,6 +405,7 @@ enforced borderless table cells with !important property, thanks to @ragonesi text-decoration: none !important; border-bottom: none !important; } + .footnote_backlink, .footnote_plugin_link { white-space: nowrap; @@ -402,6 +426,7 @@ when hovered in some themes, not in others: .footnote_plugin_index.pointer:hover, .footnote_plugin_index_combi.pointer:hover, */ + .footnote_backlink:hover, .footnote_plugin_link:hover, .footnote_plugin_text a:hover { @@ -422,15 +447,19 @@ By default, the backlink column is auto-expanding to fit widest. Not using 'max-content' as that causes no-wrap and overflows. These are overridden if settings are enabled. */ + .footnote_plugin_index, .footnote_plugin_index_combi { max-width: 100px; width: 2.5em; } + /* Responsive */ + @media only screen and (max-width: 768px) { + .footnote_plugin_index, .footnote_plugin_index_combi { max-width: 80px; @@ -441,11 +470,16 @@ Responsive /**************************************************************** Footnotes printing style rules -Printing a table, browsers tend to avoid page breaks, -but it takes a wrapper to avoid a page break before the table. +Printing a table, browsers tend to avoid page breaks inside, +but it takes a wrapper to avoid a page break before the table +just after the reference container headline. -UI elements - expand button, arrows - are hidden in print; -link styling is reverted so as to not gray out referrers/numbers. +UI elements (expand/collapse button, backlink arrows) are hidden. + +Link color set to inherit, so referrers/numbers are not grayed out. + +@since 2.0.0 Tooltips: fix bug displaying content inline when page is printed, thanks to @gernsheim bug report +@see */ .footnotes_reference_container { @@ -453,20 +487,25 @@ link styling is reverted so as to not gray out referrers/numbers. } @media print { + .footnote_tooltip, .footnote_reference_container_collapse_button, .footnote_index_arrow { display: none; } + .footnote_plugin_tooltip_text { color: inherit; } + .footnote_plugin_index a, .footnote_plugin_index_combi a { color: inherit; text-decoration: none !important; } - div.post-meta-edit-link-wrapper { /*Edit button in WP2020*/ - display: none; /*(added as a service)*/ + + /* Edit button in WP2020 (added as a service) */ + div.post-meta-edit-link-wrapper { + display: none; } } diff --git a/css/settings.css b/css/settings.css index 10431e1..367322e 100755 --- a/css/settings.css +++ b/css/settings.css @@ -5,9 +5,9 @@ * Created-Time: 16:21 * Since: 1.0 * - * Version: 2.6.0 + * Version: 2.5.1 * - * Last modified: 2021-01-14T2350+0100 + * Last modified: 2021-01-18T2051+0100 */ diff --git a/footnotes.php b/footnotes.php index 7923d42..ea109a9 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.6.0d0 + Version: 2.5.1d0 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages */ -define( 'FOOTNOTES_VERSION', '2.6.0d0' ); +define( 'FOOTNOTES_VERSION', '2.5.1d0' ); /* Copyright 2020 Mark Cheret (email: mark@cheret.de) diff --git a/readme.txt b/readme.txt index bcf925e..c7dd22e 100755 --- a/readme.txt +++ b/readme.txt @@ -79,10 +79,13 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** == Changelog == -= 2.6.0 = += 2.5.1 = +- Bugfix: Hooks: support for footnotes in Popup Maker popups, thanks to @squatcher bug report +- Bugfix: Reference container: click on label expands but also collapses, thanks to @ahmadword bug report +- Bugfix: Dashboard: Custom CSS: mention validity of legacy while visible, thanks to @rkupadhya feedback +- Bugfix: Dashboard: Custom CSS: make class list column formatting effective again - Update: Readme/documentation: add new contributors in the file header’s Contributors field - Update: Readme/documentation: update or fix URLs in Download, Support and Development sections -- Bugfix: Dashboard: Custom CSS: make class list column formatting effective again = 2.5.0 = - Add: Customization: Enable template location stack, thanks to @misfist source file contribution @@ -224,7 +227,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Bugfix: Styling: Tooltips: raise settings priority to override theme style sheets = 2.1.2 = -- Bugfix: Layout: Reference container: Backlinks: no underline on hover cell when combining identicals is on +- Bugfix: Reference container: Backlinks: no underline on hover cell when combining identicals is on - Bugfix: Dashboard: priority level settings for all other hooks, thanks to @nikelaos feedback - Update: Dashboard: WordPress documentation URLs of the hooks - Update: Dashboard: feature description for the hooks priority level settings, thanks to @nikelaos feedback @@ -235,23 +238,23 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Update: Libraries: jQuery Tools: complete minification - Bugfix: Libraries: made script loads depend on tooltip implementation option - Bugfix: Libraries: jQuery UI: properly pick the libraries registered by WordPress needed for tooltips -- Bugfix: UI: Tooltips: optional alternative JS implementation with CSS animation to fix site issues -- Bugfix: UI: Tooltips: add delay (400ms) before fade-out to fix UX wrt links and Read-on button -- Bugfix: UI: Tooltips: fix line breaking for hyperlinked URLs in Unicode-non-compliant user agents -- Bugfix: Layout: Footnote referrers: select box to make superscript optional wrt themes w/o support, thanks to @cwbayer bug report -- Bugfix: Layout: Reference container: fix relative positioning by priority level setting, thanks to june01 @spaceling @imeson bug reports -- Bugfix: Layout: Reference container: Backlink symbol: select box to disable instead of space character -- Bugfix: Layout: Reference container: Footnote number links: disable bottom border for theme compatibility -- Bugfix: Layout: Reference container: option to restore 3-column layout when combined are turned off -- Bugfix: Layout: Reference container: option to APpend symbol in 2-column when combined are turned off -- Bugfix: Layout: Reference container: fix start pages by an option to hide the reference container -- Bugfix: Layout: Reference container: Table rows: fix top and bottom padding -- Bugfix: Layout: Footnote referrers: new fix for line height +- Bugfix: Tooltips: optional alternative JS implementation with CSS animation to fix site issues +- Bugfix: Tooltips: add delay (400ms) before fade-out to fix UX wrt links and Read-on button +- Bugfix: Tooltips: fix line breaking for hyperlinked URLs in Unicode-non-compliant user agents +- Bugfix: Footnote referrers: select box to make superscript optional, thanks to @cwbayer bug report +- Bugfix: Footnote referrers: line height 0 to fix superscript, thanks to @cwbayer bug report +- Bugfix: Reference container: fix relative positioning by priority level setting, thanks to june01 @spaceling @imeson bug reports +- Bugfix: Reference container: Backlink symbol: select box to disable instead of space character +- Bugfix: Reference container: Footnote number links: disable bottom border for theme compatibility +- Bugfix: Reference container: option to restore 3-column layout when combined are turned off +- Bugfix: Reference container: option to APpend symbol in 2-column when combined are turned off +- Bugfix: Reference container: fix start pages by an option to hide the reference container +- Bugfix: Reference container: Table rows: fix top and bottom padding - Bugfix: Formatting: disable overline showing in some themes on hovered backlinks = 2.1.0 = - Add: UI: Tooltip: made 'Continue reading' button label customizable -- Bugfix: Layout: Footnote referrers: disabled bottom border for theme compatibility +- Bugfix: Footnote referrers: disabled bottom border for theme compatibility - Update: Accessibility: added 'speaker-mute' class to reference container - Bugfix: Dashboard: Layout: added named selectors to limit applicability of styles - UPDATE: REMOVED the_post hook, the plugin stopped supporting this hook @@ -267,16 +270,16 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.0.6 = - Update: Autoload / infinite scroll support thanks to @docteurfitness -- Bugfix: Layout: Footnote referrers: deleted vertical align tweaks, for cross-theme and user agent compatibility -- Bugfix: Layout: Reference container: fixed line breaking behavior in footnote # clusters -- Bugfix: Layout: Reference container: auto-extending column to fit widest, to fix display with short note texts -- Bugfix: Layout: Reference container: IDs: slightly increased left padding +- Bugfix: Footnote referrers: deleted vertical align tweaks, for cross-theme and user agent compatibility +- Bugfix: Reference container: fixed line breaking behavior in footnote # clusters +- Bugfix: Reference container: auto-extending column to fit widest, to fix display with short note texts +- Bugfix: Reference container: IDs: slightly increased left padding - Bugfix: Translations: fixed spelling error and erroneously changed word in en_GB and en_US - Update: Typesetting: discarded the dot after footnote numbers as not localizable (should be optional) -- Bugfix: UI: Reference container: Collapse button fully clickable, not sign only -- Bugfix: UI: Reference container: Collapse button 'collapse' with minus sign not hyphen-minus -- Update: UX: Tooltip: set display predelay to 0 for responsiveness (was 800 since 2.0.0, 400 before) -- Update: UX: Tooltip: set fade duration to 200ms both ways (was 200 in and 2000 out since 2.0.0, 0 in and 100 out before) +- Bugfix: Reference container: Collapse button fully clickable, not sign only +- Bugfix: Reference container: Collapse button 'collapse' with minus sign not hyphen-minus +- Update: Tooltips: set display predelay to 0 for responsiveness (was 800 since 2.0.0, 400 before) +- Update: Tooltips: set fade duration to 200ms both ways (was 200 in and 2000 out since 2.0.0, 0 in and 100 out before) - BUGFIX: Priority level back to PHP_INT_MAX (ref container positioning not this plugin’s responsibility) - Update: Scroll offset: raise percentage from 12% to a safer 20% inner window height, by lack of configurability @@ -285,27 +288,27 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Bugfix: Public style sheet: Reference container: unset width of text column to fix site issues - Update: Enable all hooks by default to prevent footnotes from seeming broken in post titles - Bugfix: Restore cursor shape pointer over 'Continue reading' button after hyperlink removal -- Bugfix: Settings style sheet unenqueued to fix input boxes on public pages (enqueued for 2.0.4) +- Bugfix: Settings style sheet: unenqueue to fix input boxes on public pages (enqueued for 2.0.4) = 2.0.4 = -- Update: Restored arrow settings to customize or disable the now prepended arrow symbol -- Update: GDPR: Added jQuery UI from WordPress instead of third party -- Bugfix: UX: Removed hyperlink addresses from referrers and backlinks wrt browsing history -- Bugfix: Reference container: layout: removed inconvenient left/right cellpadding -- Bugfix: Tooltip infobox: improved layout with inherited font size by lower line height -- Bugfix: Tooltip infobox: 'Continue reading' button: disabled default underline -- Bugfix: Translations: reviewed all locales (en, de, es, fr), synced ref line # with edited code +- Update: Restore arrow settings to customize or disable the now prepended arrow symbol +- Update: GDPR: Add jQuery UI from WordPress instead of third party +- Bugfix: UX: Remove hyperlink addresses from referrers and backlinks wrt browsing history +- Bugfix: Reference container: remove inconvenient left/right cellpadding +- Bugfix: Tooltips: improve layout with inherited font size by lower line height +- Bugfix: Tooltips: 'Continue reading' button: disable default underline +- Bugfix: Translations: review all locales (en, de, es, fr), synced ref line # with edited code - Bugfix: Dashboard: fix display of two headings containing the logo = 2.0.3 = -- Bugfix: Layout: Self-adjusting width of ID column but hidden overflow -- Update: Prepended transitional up arrow to backlinking footnote numbers after a user complaint about missing backlinking semantics of the footnote number +- Bugfix: Reference container: Self-adjusting width of ID column but hidden overflow +- Update: Reference container: clarify backlink semantics by prepended transitional up arrow, thanks to bug report - Bugfix: Fragment IDs: Prepended post ID to footnote number - Bugfix: Feed plugin version in style sheet query string for cache busting - Bugfix: Print style: prevent a page break just after the reference container label - Bugfix: Print style: Hide reference collapse button -- Update: Layout: Removed padding before reference container label -- Update: Scroll offset: raise percentage from 5% to a safer 12% inner window height, by lack of configurability +- Update: Reference container: Headline: remove padding before reference container label +- Update: Scroll offset: raise percentage from 5% to a safer 12% inner window height, by lack of setting = 2.0.2 = - Bugfix: Restored expand/collapse button of reference container @@ -314,8 +317,8 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Bugfix: Disabled underline in footnote anchors, underline only on hover = 2.0.1 = -- Bugfix: enforced borderless table cells with !important property, thanks to @ragonesi -- Update: Language fr_FR along with es_ES, de_AT, de_DE, en_GB, en_US for 2.0 +- Bugfix: enforce borderless table cells through !important property, thanks to @ragonesi bug report +- Update: Translations: revised fr_FR = 2.0.0 = - Major contributions taken from WordPress user pewgeuges, all details here https://github.com/media-competence-institute/footnotes/blob/master/README.md: @@ -330,6 +333,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** - Update: Adjusted scrolling time and offset - Bugfix: No borders around footnotes in the container - Bugfix: Mouse-over box display timing +- Update: Translations: revised de_AT, de_DE, en_GB, en_US, es_ES = 1.6.6 = - Beginning of translation to French diff --git a/templates/public/reference-container.html b/templates/public/reference-container.html index 6dfba15..538b602 100644 --- a/templates/public/reference-container.html +++ b/templates/public/reference-container.html @@ -6,7 +6,7 @@ ><[[element]] >[[name]]