PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.14
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.14
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
← All changes | app/Modules/Component/Component.php +8 -6 6.2.76.2.14 View file →
@@ -1448,17 +1448,19 @@
1448 1448 $atts = shortcode_atts([
1449 1449 'param' => '',
1450 1450 ], $atts);
1451 1451
1452 + if ('' === $atts['param']) {
1453 + return '';
1454 + }
1455 +
1452 1456 $value = $this->app->request->get($atts['param']);
1453 1457
1454 - if ($atts['param'] && $value) {
1455 - if (is_array($value)) {
1456 - return implode(', ', $value);
1457 - }
1458 - return esc_html($value);
1458 + if (null === $value || '' === $value) {
1459 + return '';
1459 1460 }
1460 - return '';
1461 +
1462 + return esc_html(Helper::flattenRequestValue($value));
1461 1463 });
1462 1464
1463 1465 $this->app->addShortcode('ff_entry',function($atts){
1464 1466 ob_start();