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

Commit

Permalink
Hotfixes for version 2.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dsifford committed Apr 10, 2016
1 parent fac9e32 commit e8c1de4
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

### 2.4.2
- Fix critical bug which caused posts without an ordered list to lose the first paragraph and indent strangely.
- Fix typo on one of the CSS selectors on the options page. `.abt-smart-bib` => `#abt-smart-bib`

**Note:** I am aware of the issue with Internet Explorer browsers not generating tooltips. This is because IE operates using a very, very, very....very outdated broswer standard. I'll work on a fix soon and push that out when I get it working. Thanks!

If you'd like to follow along or join the conversation on some of the next few milestones of this plugin, please see [this excellent thread](https://github.com/dsifford/academic-bloggers-toolkit/issues/20) started by @metallikat36.


### 2.4.1
- Fix bug that caused tooltips to not render at all on Firefox browsers (and Internet Explorer?) - If IE still has issues, please let me know. I don't own a Windows PC so I can't test.
- Fix bug that caused the menu icon to display as a smiley face on new posts and pages.
Expand Down
2 changes: 1 addition & 1 deletion academic-bloggers-toolkit.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Plugin Name: Academic Blogger's Toolkit
* Plugin URI: https://wordpress.org/plugins/academic-bloggers-toolkit/
* Description: A plugin extending the functionality of Wordpress for academic blogging
* Version: 2.4.1
* Version: 2.4.2
* Author: Derek P Sifford
* Author URI: https://github.com/dsifford
* License: GPL3 or later
Expand Down
2 changes: 1 addition & 1 deletion inc/options-page-wrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
<div style="padding: 10px; flex-grow: 1; flex-shrink: 0;">
<h4>Apply style to the bibliography list?</h4>
<div style="font-family: monospace; background: #eaeaea; padding: 5px; white-space: pre-line;"
>.abt-smart-bib {
>#abt-smart-bib {
&nbsp;&nbsp;vertical-align: super;
&nbsp;&nbsp;font-size: 0.8em;
&nbsp;&nbsp;list-style-type: upper-roman;
Expand Down
4 changes: 4 additions & 0 deletions inc/peer-review.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,10 @@ function tag_ordered_list( $content ) {
if (!$smart_bib_exists) {

$lastOLPosition = strrpos($content, '<ol');
if (!$lastOLPosition) {
return $content;
}

$content = substr($content, 0, $lastOLPosition) . '<ol id="abt-smart-bib" ' . substr($content, $lastOLPosition+3, strlen($content));

}
Expand Down
10 changes: 9 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://cash.me/$dsifford
Tags: academic, pmid, doi, peer-review, pubmed, citation, bibliography, reference
Requires at least: 4.2.2
Tested up to: 4.5
Stable tag: 2.4.1
Stable tag: 2.4.2
License: GPL3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -48,6 +48,14 @@ Yikes! I'm sorry about that. Please report all issues on the Academic Blogger's

== Changelog ==

= 2.4.2 =
* Fix critical bug which caused posts without an ordered list to lose the first paragraph and indent strangely.
* Fix typo on one of the CSS selectors on the options page. `.abt-smart-bib` => `#abt-smart-bib`

**Note:** I am aware of the issue with Internet Explorer browsers not generating tooltips. This is because IE operates using a very, very, very....very outdated broswer standard. I'll work on a fix soon and push that out when I get it working. Thanks!

If you'd like to follow along or join the conversation on some of the next few milestones of this plugin, please see [this excellent thread](https://github.com/dsifford/academic-bloggers-toolkit/issues/20) started by @metallikat36.

= 2.4.1 =
* Fix bug that caused tooltips to not render at all on Firefox browsers (and Internet Explorer?) - If IE still has issues, please let me know. I don't own a Windows PC so I can't test.
* Fix bug that caused the menu icon to display as a smiley face on new posts and pages.
Expand Down

0 comments on commit e8c1de4

Please sign in to comment.