bugfix 2.1.5
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2432718 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
a2f70d8499
commit
4b27b10295
5 changed files with 14 additions and 12 deletions
|
@ -26,7 +26,7 @@
|
||||||
* 2.1.4 scroll offset and duration settings 2020-12-05T0538+0100
|
* 2.1.4 scroll offset and duration settings 2020-12-05T0538+0100
|
||||||
* 2.1.4 tooltip display duration settings 2020-12-06T1320+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:
|
// 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,
|
// 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
|
// 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
|
// see public.css
|
||||||
$l_str_FootnoteText = preg_replace( '#(?<!href=.)(https?://[^\\s<]+)#', '<span class="footnote_url_wrap">$1</span>', $l_str_FootnoteText );
|
$l_str_FootnoteText = preg_replace( '#(?<!href=.)(?<!src=.)(https?://[^\\s<]+)#', '<span class="footnote_url_wrap">$1</span>', $l_str_FootnoteText );
|
||||||
|
|
||||||
// Text to be displayed instead of the footnote
|
// Text to be displayed instead of the footnote
|
||||||
$l_str_FootnoteReplaceText = "";
|
$l_str_FootnoteReplaceText = "";
|
||||||
|
@ -936,8 +936,7 @@ class MCI_Footnotes_Task {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// line wrapping of URLs already fixed, see:
|
// line wrapping of URLs already fixed, see above
|
||||||
// $l_str_FootnoteText = preg_replace( '#(?<!href=.)(https?://[^\\s<]+)#', '<span class="footnote_url_wrap">$1</span>', $l_str_FootnoteText );
|
|
||||||
|
|
||||||
// replace all placeholders in 'templates/public/reference-container-body.html'
|
// replace all placeholders in 'templates/public/reference-container-body.html'
|
||||||
// or in 'templates/public/reference-container-body-combi.html'
|
// or in 'templates/public/reference-container-body-combi.html'
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
* Created-Time: 16:21
|
* Created-Time: 16:21
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*
|
*
|
||||||
* Version: 2.1.4
|
* Version: 2.1.5
|
||||||
*
|
*
|
||||||
* Last modified: 2020-12-06T1649+0100
|
* Last modified: 2020-12-06T2259+0100
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -5,9 +5,9 @@
|
||||||
* Created-Time: 16:21
|
* Created-Time: 16:21
|
||||||
* Since: 1.0
|
* Since: 1.0
|
||||||
*
|
*
|
||||||
* Version: 2.1.4
|
* Version: 2.1.5
|
||||||
*
|
*
|
||||||
* Last modified: 2020-12-06T1649+0100
|
* Last modified: 2020-12-06T2258+0100
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
Plugin URI: https://wordpress.org/plugins/footnotes/
|
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.
|
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
|
Author: Mark Cheret
|
||||||
Version: 2.1.4
|
Version: 2.1.5
|
||||||
Author URI: http://cheret.de/plugins/footnotes-2/
|
Author URI: http://cheret.de/plugins/footnotes-2/
|
||||||
Text Domain: footnotes
|
Text Domain: footnotes
|
||||||
Domain Path: /languages
|
Domain Path: /languages
|
||||||
*/
|
*/
|
||||||
define( 'FOOTNOTES_VERSION', '2.1.4' );
|
define( 'FOOTNOTES_VERSION', '2.1.5' );
|
||||||
/*
|
/*
|
||||||
Copyright 2020 Mark Cheret (email: mark@cheret.de)
|
Copyright 2020 Mark Cheret (email: mark@cheret.de)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen
|
||||||
Requires at least: 3.9
|
Requires at least: 3.9
|
||||||
Tested up to: 5.5
|
Tested up to: 5.5
|
||||||
Requires PHP: 5.6
|
Requires PHP: 5.6
|
||||||
Stable Tag: 2.1.4
|
Stable Tag: 2.1.5
|
||||||
License: GPLv3 or later
|
License: GPLv3 or later
|
||||||
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
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 ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 2.1.5 =
|
||||||
|
- Bugfix: Reference container, tooltips: exclude image source too from URL line wrapping span
|
||||||
|
|
||||||
= 2.1.4 =
|
= 2.1.4 =
|
||||||
- Add: Dashboard: Main settings: add settings for scroll offset and duration
|
- Add: Dashboard: Main settings: add settings for scroll offset and duration
|
||||||
- Add: Dashboard: Tooltip settings: add settings for display delays and fade durations
|
- Add: Dashboard: Tooltip settings: add settings for display delays and fade durations
|
||||||
|
|
Reference in a new issue