| @@ -18,9 +18,9 @@ | ||
| 18 | 18 | } |
| 19 | 19 | $show_messages = apply_filters( 'frm_message_list', $show_messages ); |
| 20 | 20 | if ( is_array( $show_messages ) && count( $show_messages ) > 0 ) { |
| 21 | 21 | // Define a callback function to add 'data-action' attribute to allowed HTML tags |
| 22 | - $add_data_action_callback = function( $allowed_html ) { | |
| 22 | + $add_data_action_callback = function ( $allowed_html ) { | |
| 23 | 23 | $allowed_html['span']['data-action'] = true; |
| 24 | 24 | return $allowed_html; |
| 25 | 25 | }; |
| 26 | 26 | ?> |
| @@ -37,9 +37,9 @@ | ||
| 37 | 37 | ?> |
| 38 | 38 | </ul> |
| 39 | 39 | </div> |
| 40 | 40 | <?php |
| 41 | -} | |
| 41 | +}//end if | |
| 42 | 42 | |
| 43 | 43 | if ( ! empty( $warnings ) && is_array( $warnings ) ) { |
| 44 | 44 | ?> |
| 45 | 45 | <div class="frm_warning_style inline" role="alert"> |