From 8145b339f4081ec76b53c2304fa51d6a345d1480 Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Sun, 6 Dec 2020 22:07:52 +0000 Subject: [PATCH] bugfix 2.1.5 git-svn-id: https://plugins.svn.wordpress.org/footnotes/tags/2.1.5@2432718 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/task.php | 9 ++++----- css/public.css | 4 ++-- css/settings.css | 4 ++-- footnotes.php | 4 ++-- readme.txt | 5 ++++- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/class/task.php b/class/task.php index abc29a7..a0606b1 100644 --- a/class/task.php +++ b/class/task.php @@ -26,7 +26,7 @@ * 2.1.4 scroll offset and duration settings 2020-12-05T0538+0100 * 2.1.4 tooltip display duration settings 2020-12-06T1320+0100 * - * Last modified: 2020-12-06T1652+0100 + * Last modified: 2020-12-06T2248+0100 */ // If called directly, abort: @@ -517,9 +517,9 @@ class MCI_Footnotes_Task { // fix line wrapping of URLs (hyperlinked or not) based on pattern, not link element, // to prevent them from hanging out of the tooltip in non-Unicode-compliant user agents - // spare however values of the href argument! + // spare however values of the href and the src arguments! // see public.css - $l_str_FootnoteText = preg_replace( '#(?$1', $l_str_FootnoteText ); + $l_str_FootnoteText = preg_replace( '#(?$1', $l_str_FootnoteText ); // Text to be displayed instead of the footnote $l_str_FootnoteReplaceText = ""; @@ -936,8 +936,7 @@ class MCI_Footnotes_Task { } - // line wrapping of URLs already fixed, see: - // $l_str_FootnoteText = preg_replace( '#(?$1', $l_str_FootnoteText ); + // line wrapping of URLs already fixed, see above // replace all placeholders in 'templates/public/reference-container-body.html' // or in 'templates/public/reference-container-body-combi.html' diff --git a/css/public.css b/css/public.css index e683422..ce17a61 100755 --- a/css/public.css +++ b/css/public.css @@ -5,9 +5,9 @@ * Created-Time: 16:21 * Since: 1.0 * - * Version: 2.1.4 + * Version: 2.1.5 * - * Last modified: 2020-12-06T1649+0100 + * Last modified: 2020-12-06T2259+0100 */ diff --git a/css/settings.css b/css/settings.css index 679b9a9..71c8578 100755 --- a/css/settings.css +++ b/css/settings.css @@ -5,9 +5,9 @@ * Created-Time: 16:21 * Since: 1.0 * - * Version: 2.1.4 + * Version: 2.1.5 * - * Last modified: 2020-12-06T1649+0100 + * Last modified: 2020-12-06T2258+0100 */ diff --git a/footnotes.php b/footnotes.php index 64237e6..74ea864 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.4 + Version: 2.1.5 Author URI: http://cheret.de/plugins/footnotes-2/ Text Domain: footnotes Domain Path: /languages */ -define( 'FOOTNOTES_VERSION', '2.1.4' ); +define( 'FOOTNOTES_VERSION', '2.1.5' ); /* Copyright 2020 Mark Cheret (email: mark@cheret.de) diff --git a/readme.txt b/readme.txt index 172e5cb..28fb430 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.4 +Stable Tag: 2.1.5 License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -80,6 +80,9 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest** == Changelog == += 2.1.5 = +- Bugfix: Reference container, tooltips: exclude image source too from URL line wrapping span + = 2.1.4 = - Add: Dashboard: Main settings: add settings for scroll offset and duration - Add: Dashboard: Tooltip settings: add settings for display delays and fade durations