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:
parent
ca3335e63c
commit
3aa88229e0
4 changed files with 15 additions and 12 deletions
|
@ -1223,7 +1223,7 @@ class MCI_Footnotes_Task {
|
|||
preg_match_all(
|
||||
'#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#',
|
||||
$p_str_content,
|
||||
$p_arr_saved_footnotes,
|
||||
$p_arr_saved_footnotes
|
||||
);
|
||||
|
||||
// Prevent the footnotes from altering the excerpt: previously hard-coded '5ED84D6'.
|
||||
|
@ -1231,7 +1231,7 @@ class MCI_Footnotes_Task {
|
|||
$p_str_content = preg_replace(
|
||||
'#' . self::$a_str_start_tag_regex . '.+?' . self::$a_str_end_tag_regex . '#',
|
||||
$l_int_placeholder,
|
||||
$p_str_content,
|
||||
$p_str_content
|
||||
);
|
||||
|
||||
// Replace line breaking markup with a separator.
|
||||
|
@ -1275,7 +1275,7 @@ class MCI_Footnotes_Task {
|
|||
'#' . $l_int_placeholder . '#',
|
||||
$p_arr_saved_footnotes[0][ $l_int_index ],
|
||||
$p_str_content,
|
||||
1,
|
||||
1
|
||||
);
|
||||
$l_int_index++;
|
||||
}
|
||||
|
|
Reference in a new issue