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
This commit is contained in:
parent
75885b77cf
commit
eb0d056e85
1 changed files with 4 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
* Edited for v2.0.5: Autoload / infinite scroll support added thanks to code from
|
* Edited for v2.0.5: Autoload / infinite scroll support added thanks to code from
|
||||||
* @docteurfitness <https://wordpress.org/support/topic/auto-load-post-compatibility-update/>
|
* @docteurfitness <https://wordpress.org/support/topic/auto-load-post-compatibility-update/>
|
||||||
*
|
*
|
||||||
* Last modified 2020-11-05T0232+0100
|
* Last modified 2020-11-05T0524+0100
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// If called directly, abort:
|
// If called directly, abort:
|
||||||
|
@ -457,6 +457,9 @@ class MCI_Footnotes_Task {
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function ReferenceContainer() {
|
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
|
// no footnotes has been replaced on this page
|
||||||
if (empty(self::$a_arr_Footnotes)) {
|
if (empty(self::$a_arr_Footnotes)) {
|
||||||
return "";
|
return "";
|
||||||
|
|
Reference in a new issue