| @@ -44,12 +44,10 @@ | ||
| 44 | 44 | FrmAppHelper::kses_echo( $atts['nav'], 'all' ); |
| 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 | } |