From 6a199cec73010834d7bc0a7411b31979971488f4 Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Sun, 1 Nov 2020 18:54:31 +0000 Subject: [PATCH] updated 2 templates and task.php on user request to leave browsing history alone, and readme.txt, for 2.0.4 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2410699 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/task.php | 7 ++++--- readme.txt | 3 ++- templates/public/footnote.html | 2 +- templates/public/reference-container-body.html | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/class/task.php b/class/task.php index 4629814..c8aa494 100644 --- a/class/task.php +++ b/class/task.php @@ -7,7 +7,7 @@ * @since 1.5.0 * * Edited for v2.0.0 and following. - * Last modified 2020-11-01T0342+0100 + * Last modified 2020-11-01T1945+0100 */ // If called directly, abort: @@ -375,8 +375,9 @@ class MCI_Footnotes_Task { $l_str_DummyText = strip_tags($l_str_FootnoteText); if (is_int($l_int_MaxLength) && strlen($l_str_DummyText) > $l_int_MaxLength) { $l_str_ExcerptText = substr($l_str_DummyText, 0, $l_int_MaxLength); - $l_str_ExcerptText = substr($l_str_ExcerptText, 0, strrpos($l_str_ExcerptText, ' ')); - $l_str_ExcerptText .= ' … ' . sprintf(__("%scontinue%s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '', ''); + $l_str_ExcerptText = substr($l_str_ExcerptText, 0, strrpos($l_str_ExcerptText, ' ')); + // Removed hyperlink navigation on user request, but left element for style. + $l_str_ExcerptText .= ' … ' . sprintf(__("%scontinue%s", MCI_Footnotes_Config::C_STR_PLUGIN_NAME), '', ''); } } diff --git a/readme.txt b/readme.txt index 22a475e..3533df6 100755 --- a/readme.txt +++ b/readme.txt @@ -82,7 +82,8 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** = 2.0.4 = - Update: Restored arrow settings to customize or disable the now prepended arrow symbol -- Update: Added jQuery UI from WordPress +- 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 diff --git a/templates/public/footnote.html b/templates/public/footnote.html index 2e7669a..d7fab35 100755 --- a/templates/public/footnote.html +++ b/templates/public/footnote.html @@ -1,2 +1,2 @@ -[[before]][[index]][[after]] +[[before]][[index]][[after]] [[text]] diff --git a/templates/public/reference-container-body.html b/templates/public/reference-container-body.html index c48be48..ea61748 100755 --- a/templates/public/reference-container-body.html +++ b/templates/public/reference-container-body.html @@ -1,4 +1,4 @@ - [[arrow]] [[index]]. + [[arrow]] [[index]]. [[text]]