| @@ -40,16 +40,14 @@ | ||
| 40 | 40 | <?php |
| 41 | 41 | }//end if |
| 42 | 42 | |
| 43 | 43 | if ( isset( $atts['nav'] ) ) { |
| 44 | - FrmAppHelper::kses_echo( $atts['nav'], 'all' ); | |
| 44 | + echo FrmAppHelper::kses( $atts['nav'], 'all' ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | echo '<div id="frm-publishing">'; |
| 48 | - | |
| 49 | 48 | if ( ! empty( $atts['publish'] ) || ! empty( $atts['import_link'] ) ) { |
| 50 | 49 | $btn_type = 'primary'; |
| 51 | - | |
| 52 | 50 | if ( isset( $atts['publish'] ) && is_array( $atts['publish'] ) ) { |
| 53 | 51 | call_user_func( $atts['publish'][0], $atts['publish'][1] ); |
| 54 | 52 | $btn_type = 'secondary'; |
| 55 | 53 | } |