Skip to content

Commit

Permalink
tag 6.3 fix typo in PHP function causing fatal error on activation!
Browse files Browse the repository at this point in the history
  • Loading branch information
Lwangaman authored and Lwangaman committed Jun 6, 2020
1 parent 83a867c commit dff35cd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
4 changes: 2 additions & 2 deletions bibleget-io.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/*
* Plugin Name: BibleGet I/O
* Version: 6.2
* Version: 6.3
* Plugin URI: https://www.bibleget.io/
* Description: Easily insert Bible quotes from a choice of Bible versions into your articles or pages with the "Bible quote" block or with the shortcode [bibleget].
* Author: John Romano D'Orazio
Expand All @@ -28,7 +28,7 @@
*/


define("BIBLEGETPLUGINVERSION", "v6_2");
define("BIBLEGETPLUGINVERSION", "v6_3");

if (!defined('ABSPATH')) {
header('Status: 403 Forbidden');
Expand Down
2 changes: 1 addition & 1 deletion options.php
Original file line number Diff line number Diff line change
Expand Up @@ -2289,7 +2289,7 @@ public static function setAndIsNumber($arr,$key){
}
public static function setAndIsStringArray($arr,$key){
$ret = true;
if(isset($arr[$key]) && is_array($arr[$key]) && !is_empty($arr[$key])){
if(isset($arr[$key]) && is_array($arr[$key]) && !empty($arr[$key])){
foreach($arr[$key] as $idx => $value){
if(!is_string($value)){
$ret = false;
Expand Down
8 changes: 7 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: bible,shortcode,quote,citation,verses,bibbia,citazione,versetti,biblia,cit
Requires at least: 5.0
Tested up to: 5.4.1
Requires PHP: 5.6
Stable tag: 6.2
Stable tag: 6.3
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -111,6 +111,9 @@ There was recently an update to the BibleGet service endpoint which slightly cha

== Changelog ==

= 6.3 =
* Fix typo in PHP function

= 6.2 =
* Better type checks on saved options when building default options
* Ensure shortcodes will be rendered same as Gutenber blocks
Expand Down Expand Up @@ -301,6 +304,9 @@ There was recently an update to the BibleGet service endpoint which slightly cha

== Upgrade Notice ==

= 6.3 =
Versions prior to 5.9 must update to maintain compatibility with the BibleGet endpoint

= 6.2 =
Versions prior to 5.9 must update to maintain compatibility with the BibleGet endpoint

Expand Down

0 comments on commit dff35cd

Please sign in to comment.