diff --git a/crouton.php b/crouton.php index 1eba0f8..1639f18 100644 --- a/crouton.php +++ b/crouton.php @@ -5,7 +5,7 @@ Description: A tabbed based display for showing meeting information. Author: bmlt-enabled Author URI: https://bmlt.app -Version: 3.20.5 +Version: 3.20.6 */ /* Disallow direct access to the plugin file */ if (basename($_SERVER['PHP_SELF']) == basename(__FILE__)) { @@ -198,13 +198,13 @@ private function croutonInitializationScript() } switch ($shortcode[2]) { case 'bmlt_tabs': - $script = $this->renderTable(wp_parse_args($shortcode[3])); + $script = $this->renderTable(shortcode_parse_atts($shortcode[3])); break; case 'init_crouton': - $script = $this->initCrouton(wp_parse_args($shortcode[3])); + $script = $this->initCrouton(shortcode_parse_atts($shortcode[3])); break; case 'crouton_map': - $script = $this->renderMap(wp_parse_args($shortcode[3])); + $script = $this->renderMap(shortcode_parse_atts($shortcode[3])); break; case 'bmlt_map': $atts = wp_parse_args($shortcode[3]); diff --git a/readme.txt b/readme.txt index 1436c27..019085d 100644 --- a/readme.txt +++ b/readme.txt @@ -5,7 +5,7 @@ Tags: na, meeting list, meeting finder, maps, recovery, addiction, webservant, b Requires at least: 4.0 Required PHP: 8.0 Tested up to: 6.6.2 -Stable tag: 3.20.5 +Stable tag: 3.20.6 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html crouton implements a Tabbed UI for BMLT. @@ -36,6 +36,9 @@ https://demo.bmlt.app/crouton == Changelog == += 3.20.6 = +* Fix for 3.20.5 + = 3.20.5 = * Fix list_service_bodies including the parent service body. * Correctly call add_inline_script, and always use it.