| @@ -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 | } |
| @@ -59,9 +57,9 @@ | ||
| 59 | 57 | FrmAppHelper::import_link( $btn_type ); |
| 60 | 58 | } |
| 61 | 59 | } elseif ( ! FrmAppHelper::pro_is_installed() ) { |
| 62 | 60 | ?> |
| 63 | - <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( 'header' ) ); ?>" class="button button-secondary frm-button-secondary" target="_blank" rel="noopener"> | |
| 61 | + <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( 'header' ) ); ?>" class="button button-secondary frm-button-secondary"> | |
| 64 | 62 | <?php esc_html_e( 'Upgrade', 'formidable' ); ?> |
| 65 | 63 | </a> |
| 66 | 64 | <?php |
| 67 | 65 | } |