From 00cf335885060ffef69cf7ef49ade23d60ce1f7c Mon Sep 17 00:00:00 2001 From: Joseph G Date: Thu, 6 Aug 2020 23:45:00 +0800 Subject: [PATCH] Fix error in shortcode when there are multiple shortcode attributes.: --- public/helpers/class-bigbluebutton-tokens-helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/helpers/class-bigbluebutton-tokens-helper.php b/public/helpers/class-bigbluebutton-tokens-helper.php index 7835b61..422628a 100644 --- a/public/helpers/class-bigbluebutton-tokens-helper.php +++ b/public/helpers/class-bigbluebutton-tokens-helper.php @@ -46,8 +46,8 @@ public static function get_token_string_from_atts( $atts ) { } else { if ( 'token' == substr( $param, 0, 5 ) ) { $param = substr( $param, 5 ); + $tokens_string .= ',' . $param; } - $tokens_string .= ',' . $param; } } return $tokens_string;