- Updated: Remove footnotes index from last post in header
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@968878 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
a138340491
commit
fbda02957a
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ class MCI_Footnotes_Task {
|
||||||
?>
|
?>
|
||||||
<style type="text/css" media="screen"><?php echo $this->a_arr_Settings[FOOTNOTES_INPUT_CUSTOM_CSS]; ?></style>
|
<style type="text/css" media="screen"><?php echo $this->a_arr_Settings[FOOTNOTES_INPUT_CUSTOM_CSS]; ?></style>
|
||||||
<?php
|
<?php
|
||||||
|
// reset stored footnotes when displaying the header
|
||||||
|
self::$a_arr_Footnotes = array();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -108,7 +110,7 @@ class MCI_Footnotes_Task {
|
||||||
*/
|
*/
|
||||||
public function WidgetText($p_str_Content) {
|
public function WidgetText($p_str_Content) {
|
||||||
// returns content
|
// returns content
|
||||||
return $this->exec( $p_str_Content, $this->a_arr_Settings[FOOTNOTES_INPUT_REFERENCE_CONTAINER_PLACE] == "post_end" ? true : false);
|
return $this->exec($p_str_Content, $this->a_arr_Settings[FOOTNOTES_INPUT_REFERENCE_CONTAINER_PLACE] == "post_end" ? true : false);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Reference in a new issue