Skip to content

Commit

Permalink
Merge pull request #27 from jasonyingling/release/1.1.10
Browse files Browse the repository at this point in the history
prepping 1.1.10 release
  • Loading branch information
jasonyingling authored Nov 20, 2024
2 parents 8d7efe5 + 9b76a38 commit 17edef3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions easy-footnotes.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin URI: https://jasonyingling.me/easy-footnotes-wordpress/
* Description: Easily add footnotes to your posts with a simple shortcode.
* Text Domain: easy-footnotes
* Version: 1.1.9
* Version: 1.1.10
* Author: Jason Yingling
* Author URI: https://jasonyingling.me
* License: GPL2
Expand Down Expand Up @@ -47,7 +47,7 @@ class easyFootnotes {

private $footnoteSettings;

private $version = '1.1.9';
private $version = '1.1.10';

/**
* Constructing the initial plugin options, shortcodes, and hooks.
Expand Down Expand Up @@ -193,7 +193,7 @@ public function easy_footnote_after_content( $content ) {
}

if ( isset( $this->footnoteOptions['show_easy_footnote_on_front'] ) && $this->footnoteOptions['show_easy_footnote_on_front'] ) {
$efn_show_on_front = is_front_page();
$efn_show_on_front = is_front_page() || is_home();
} else {
$efn_show_on_front = false;
}
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: http://jasonyingling.me
Tags: footnotes, read, blogging, hover, tooltips, editing, endnotes, Formatting, writing, bibliography, notes, reference
Requires at least: 3.0.1
Tested up to: 6.7
Stable tag: 1.1.9
Stable tag: 1.1.10
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -76,6 +76,10 @@ This is a hard reset to fix a bug with themes/plugins using `do_shortcode( get_t

== Changelog ==

= 1.1.10 =
* Fixes a bug with sites that called the_content() multiple times not displaying footnotes due to `easy_footnote_reset` running.
* `easy_footnote_reset` now only runs when an option is activated. This had previously been implemented as a workaround for a bug that was addressed in 1.1.9.

= 1.1.9 =
* Adds support for duplicate footnotes using the same number
* Fixes a bug with multiple footnotes showing at the bottom when do_shortcode() is run on the_content outside the main loop.
Expand Down

0 comments on commit 17edef3

Please sign in to comment.