PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.6.1
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.6.1
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
← All changes | includes/class-notification.php +1 -3 1.6.91.6.1 View file →
@@ -647,9 +647,9 @@
647 647 $table .= '</tr>';
648 648 $table .= '<tr class="field-value">';
649 649 $table .= '<td>';
650 650
651 - if ( in_array( $value['type'], array( 'multiple_select', 'checkbox_field' ) ) ) {
651 + if ( in_array( $value['type'], [ 'multiple_select', 'checkbox_field' ] ) ) {
652 652 $field_value = is_array( $field_value ) ? $field_value : [];
653 653
654 654 if ( $field_value ) {
655 655 $table .= '<ul>';
@@ -660,10 +660,8 @@
660 660 $table .= '</ul>';
661 661 } else {
662 662 $table .= '&mdash;';
663 663 }
664 - } elseif ( in_array( $value['type'], array( 'google_map' ) ) ) {
665 - $table .= $field_value['address'];
666 664 } else {
667 665 $table .= $field_value;
668 666 }
669 667