Bugfix 2.6.4 stable Tag 2.6.4.

= 2.6.4 =
- Bugfix: Process: remove trailing comma after last argument in multiline function calls for PHP < 7.3, thanks to @scroom bug report.

git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2506751 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
pewgeuges 2021-03-31 13:29:10 +00:00
parent ca3335e63c
commit 3aa88229e0
4 changed files with 15 additions and 12 deletions

View file

@ -1223,7 +1223,7 @@ class MCI_Footnotes_Task {
preg_match_all( preg_match_all(
'#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#',
$p_str_content, $p_str_content,
$p_arr_saved_footnotes, $p_arr_saved_footnotes
); );
// Prevent the footnotes from altering the excerpt: previously hard-coded '5ED84D6'. // Prevent the footnotes from altering the excerpt: previously hard-coded '5ED84D6'.
@ -1231,7 +1231,7 @@ class MCI_Footnotes_Task {
$p_str_content = preg_replace( $p_str_content = preg_replace(
'#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#', '#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#',
$l_int_placeholder, $l_int_placeholder,
$p_str_content, $p_str_content
); );
// Replace line breaking markup with a separator. // Replace line breaking markup with a separator.
@ -1275,7 +1275,7 @@ class MCI_Footnotes_Task {
'#' . $l_int_placeholder . '#', '#' . $l_int_placeholder . '#',
$p_arr_saved_footnotes[0][ $l_int_index ], $p_arr_saved_footnotes[0][ $l_int_index ],
$p_str_content, $p_str_content,
1, 1
); );
$l_int_index++; $l_int_index++;
} }

View file

@ -4,8 +4,8 @@
* 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
* Package V.: 2.6.3 * Package V.: 2.6.4
* Version: 2.6.3 * Version: 2.6.4
* CAUTION: THIS V. FIELD IS PARSED FOR UPDATE CONFIGURATION. * CAUTION: THIS V. FIELD IS PARSED FOR UPDATE CONFIGURATION.
* Author URI: https://cheret.org/footnotes/ * Author URI: https://cheret.org/footnotes/
* Text Domain: footnotes * Text Domain: footnotes
@ -21,9 +21,9 @@
* @since 2.1.4 * @since 2.1.4
* @since 2.5.3 (Hungarian) * @since 2.5.3 (Hungarian)
* @var str * @var str
* @lastmodified 2021-03-30T1135+0200 * @lastmodified 2021-03-31T1525+0200
*/ */
define( 'C_STR_PACKAGE_VERSION', '2.6.3' ); define( 'C_STR_PACKAGE_VERSION', '2.6.4' );
/** /**
* Enables toggling the stylesheet enqueuing mode from production (true) to development (false). * Enables toggling the stylesheet enqueuing mode from production (true) to development (false).
* @see Full docblock below next. * @see Full docblock below next.

View file

@ -69,7 +69,7 @@
author : 'Mark Cheret', author : 'Mark Cheret',
authorurl : 'https://cheret.org/footnotes/', authorurl : 'https://cheret.org/footnotes/',
infourl : 'https://wordpress.org/plugins/footnotes/', infourl : 'https://wordpress.org/plugins/footnotes/',
version : "2.6.3" version : "2.6.4"
}; };
} }
}); });

View file

@ -4,9 +4,9 @@ Tags: footnote, footnotes, bibliography, formatting, notes, Post, posts, referen
Requires at least: 3.9 Requires at least: 3.9
Tested up to: 5.7 Tested up to: 5.7
Requires PHP: 5.6 Requires PHP: 5.6
Package Version: 2.6.3 Package Version: 2.6.4
Version: 2.6.3 Version: 2.6.4
Stable Tag: 2.6.3 Stable Tag: 2.6.4
CAUTION: THE S. T. FIELD IS PARSED FOR RELEASE CONFIGURATION. CAUTION: THE S. T. FIELD IS PARSED FOR RELEASE CONFIGURATION.
License: GPLv3 or later License: GPLv3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html License URI: https://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.6.4 =
- Bugfix: Process: remove trailing comma after last argument in multiline function calls for PHP < 7.3, thanks to @scroom bug report.
= 2.6.3 = = 2.6.3 =
- Bugfix: Reference container: debug footnotes number text color in the table header cells required for accessibility, thanks to @spaceling bug report. - Bugfix: Reference container: debug footnotes number text color in the table header cells required for accessibility, thanks to @spaceling bug report.
- Bugfix: Excerpts: debug the 'Yes' option by generating excerpts with footnotes on the basis of the posts, thanks to @nikelaos @martinneumannat bug reports. - Bugfix: Excerpts: debug the 'Yes' option by generating excerpts with footnotes on the basis of the posts, thanks to @nikelaos @martinneumannat bug reports.
@ -92,7 +95,7 @@ Visit this swift write-up from a **footnotes** user by the name of **Southwest**
- Bugfix: Tooltips: Continue reading: debug link for AMP compatibility mode. - Bugfix: Tooltips: Continue reading: debug link for AMP compatibility mode.
= 2.6.1 = = 2.6.1 =
- Bugfix: Tooltips: Styling: Font color: set to black for maximum contrast with respect to white default background, thanks to 4msc bug report. - Bugfix: Tooltips: Styling: Font color: set default value to black for maximum contrast on default white background color, thanks to 4msc bug report.
- Bugfix: Tooltips: Styling: Background color: set default value back to white because empty doesnt work out as expected. - Bugfix: Tooltips: Styling: Background color: set default value back to white because empty doesnt work out as expected.
= 2.6.0 = = 2.6.0 =