.*?<\/div>/s", $output, $matches)) {
// capture table of error messages, and turn it into notices for backend
$errorshtml = new DOMDocument();
$errorshtml->loadHTML("
" . $matches[0][0] . "");
@@ -1009,7 +1009,7 @@ function bibleGetQueryServer($finalquery)
$errs[] = "BIBLEGET SERVER ERROR: " . "
." . "
" . "
.*?<\/div>/s", '', $output);
+ $output = preg_replace("/
.*?<\/div>/s", '', $output);
}
} else {
$errs[] = 'BIBLEGET SERVER ERROR: ' . __("There was an error communicating with the BibleGet server, please wait a few minutes and try again", "bibleget-io") . ': '' . curl_error($ch) . '': ' . $finalquery . '';
diff --git a/options.php b/options.php
index dfb11d4..716145f 100644
--- a/options.php
+++ b/options.php
@@ -1833,6 +1833,10 @@ public static function header_output()
echo PHP_EOL;
echo ".bibleQuote.results p.versesParagraph span.speaker { font-weight: bold; background-color: #eeeeee; padding: 3px; border-radius: 3px; font-size: $fontsize_versenumber; }";
echo PHP_EOL;
+ echo ".bibleQuote.errors { display: none; }";
+ echo PHP_EOL;
+ echo ".bibleQuote.info { display: none; }";
+ echo PHP_EOL;
//$bibleversionalign = get_theme_mod('bibleversionalign', 'left');
$bibleversionalign = 'left';
diff --git a/readme.txt b/readme.txt
index 03fada2..678506c 100644
--- a/readme.txt
+++ b/readme.txt
@@ -7,7 +7,7 @@ Tags: bible, block, shortcode, quote, citation, verses, bibbia, citazione, verse
Requires at least: 5.0
Tested up to: 5.5
Requires PHP: 5.6
-Stable tag: 7.1
+Stable tag: 7.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -136,8 +136,12 @@ There was recently an update to the BibleGet I/O API which slightly changed the
== Changelog ==
+= 7.2 =
+* Fix: styling of poetic verses in NABRE version
+* Fix: error table not hidden to end user
+
= 7.1 =
-* use `POST` requests for the ServerSideRender component if available (Gutenberg 8.8 plugin required)
+* Use `POST` requests for the ServerSideRender component if available (Gutenberg 8.8 plugin required)
= 7.0 =
* Compatibility with WordPress 5.5
@@ -358,6 +362,9 @@ There was recently an update to the BibleGet I/O API which slightly changed the
== Upgrade Notice ==
+= 7.2 =
+Better styling of poetic verses in NABRE version, fix for error table being shown to end user
+
= 7.1 =
Fixes some possible problems with the Bible quote block by changing the API method from GET to POST. Requires Gutenberg plugin v8.8