From 35ce2fb898f6a89c655135aeefe662665e5ab270 Mon Sep 17 00:00:00 2001 From: otrok7 <50595291+otrok7@users.noreply.github.com> Date: Sat, 9 Nov 2024 21:06:38 +0100 Subject: [PATCH] fix --- crouton.php | 8 ++++---- readme.txt | 5 ++++- 2 files changed, 8 insertions(+), 5 deletions(-) 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.