Skip to content

Commit

Permalink
Merge pull request #505 from bmlt-enabled/3.20.6-fix
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
otrok7 authored Nov 9, 2024
2 parents 2712ff7 + 35ce2fb commit c694f72
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 4 additions & 4 deletions crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -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__)) {
Expand Down Expand Up @@ -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]);
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c694f72

Please sign in to comment.