From eb0d056e85fa7b986869fb184eb844428d4cfdb1 Mon Sep 17 00:00:00 2001 From: pewgeuges <73141620+pewgeuges@users.noreply.github.com> Date: Thu, 5 Nov 2020 04:27:28 +0000 Subject: [PATCH] stable tag remains 2.0.4, update 2.0.5rc0 git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2412916 b8457f37-d9ea-0310-8a92-e5e31aec5664 --- class/task.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/class/task.php b/class/task.php index 990fcf4..5586204 100644 --- a/class/task.php +++ b/class/task.php @@ -11,7 +11,7 @@ * Edited for v2.0.5: Autoload / infinite scroll support added thanks to code from * @docteurfitness * - * Last modified 2020-11-05T0232+0100 + * Last modified 2020-11-05T0524+0100 */ // If called directly, abort: @@ -457,6 +457,9 @@ class MCI_Footnotes_Task { * @return string */ public function ReferenceContainer() { + // post ID to make everything unique wrt archive view and infinite scroll + global $l_int_PostID; + $l_int_PostID = get_the_id(); // no footnotes has been replaced on this page if (empty(self::$a_arr_Footnotes)) { return "";