Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Commit dceb155

Browse files
committed
Hotfix release 3.4.3
1 parent ee32e52 commit dceb155

File tree

6 files changed

+19
-8
lines changed

6 files changed

+19
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
### 3.4.3
4+
5+
**Bugfixes**
6+
- Fix issue where bibliographies would not be rendered with only a single reference. (HT @floaltvater)
7+
38
### 3.4.2
49

510
**Bugfixes**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "academic-bloggers-toolkit",
3-
"version": "3.4.2",
3+
"version": "3.4.3",
44
"description": "A plugin extending the functionality of WordPress for Academic Blogging.",
55
"main": "index.js",
66
"scripts": {

src/academic-bloggers-toolkit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
* Plugin Name: Academic Blogger's Toolkit
55
* Plugin URI: https://wordpress.org/plugins/academic-bloggers-toolkit/
66
* Description: A plugin extending the functionality of Wordpress for academic blogging
7-
* Version: 3.4.2
7+
* Version: 3.4.3
88
* Author: Derek P Sifford
99
* Author URI: https://github.com/dsifford
1010
* License: GPL3 or later
1111
* Text Domain: academic-bloggers-toolkit
1212
*/
1313

14-
$ABT_VERSION = '3.4.2';
14+
$ABT_VERSION = '3.4.3';
1515

1616
function abt_add_options_link ($links) {
1717
$url = admin_url('options-general.php?page=abt-options');

src/academic-bloggers-toolkit.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Copyright (C) 2016 Academic Blogger's Toolkit 3.4.2
2-
# This file is distributed under the same license as the Academic Blogger's Toolkit 3.4.2 package.
1+
# Copyright (C) 2016 Academic Blogger's Toolkit 3.4.3
2+
# This file is distributed under the same license as the Academic Blogger's Toolkit 3.4.3 package.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Academic Blogger's Toolkit 3.4.2\n"
5+
"Project-Id-Version: Academic Blogger's Toolkit 3.4.3\n"
66
"Report-Msgid-Bugs-To: https://github.com/dsifford/academic-bloggers-toolkit/issues\n"
77
"MIME-Version: 1.0\n"
88
"Content-Type: text/plain; charset=UTF-8\n"

src/lib/js/utils/TinymceFunctions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ export function setBibliography(
204204
bib.appendChild(item);
205205
}
206206

207-
const noCitationsWithHeading: boolean = bib.children.length === 1 && options.heading !== '';
207+
const noCitationsWithHeading: boolean = bib.children.length === 1 && options.heading !== null && options.heading !== '';
208208
const noCitationsWithoutHeading: boolean = bib.children.length === 0;
209209

210210
if (existingBib) existingBib.parentElement.removeChild(existingBib);

src/readme.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://cash.me/$dsifford
44
Tags: academic, pmid, doi, peer-review, pubmed, citation, bibliography, reference
55
Requires at least: 4.2.2
66
Tested up to: 4.6
7-
Stable tag: 3.4.2
7+
Stable tag: 3.4.3
88
License: GPL3 or later
99
License URI: https://www.gnu.org/licenses/gpl-3.0.html
1010

@@ -72,6 +72,12 @@ Yikes! I'm sorry about that. Please report all issues on the Academic Blogger's
7272

7373
== Changelog ==
7474

75+
= 3.4.3 =
76+
77+
**Bugfixes**
78+
79+
- Fix issue where bibliographies would not be rendered with only a single reference. (HT @floaltvater)
80+
7581
= 3.4.2 =
7682

7783
**Bugfixes**

0 commit comments

Comments
 (0)