| @@ -1,5 +1,14 @@ | ||
| 1 | 1 | <?php |
| 2 | +/** | |
| 3 | + * Applications header. | |
| 4 | + * | |
| 5 | + * @package Formidable | |
| 6 | + * | |
| 7 | + * @var string $title Header title text. | |
| 8 | + * @var string $context Current applications view context (e.g. 'index'). | |
| 9 | + */ | |
| 10 | + | |
| 2 | 11 | if ( ! defined( 'ABSPATH' ) ) { |
| 3 | 12 | die( 'You are not allowed to call this page directly.' ); |
| 4 | 13 | } |
| 5 | 14 | ?> |
| @@ -18,9 +27,9 @@ | ||
| 18 | 27 | <div id="frm-publishing"> |
| 19 | 28 | <?php do_action( 'frm_applications_header_inside_title_after_span', $context ); ?> |
| 20 | 29 | <?php do_action( 'frm_applications_header_after_title', $context ); ?> |
| 21 | 30 | <?php if ( 'index' === $context && ! FrmAppHelper::pro_is_installed() ) { ?> |
| 22 | - <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( 'header' ) ); ?>" class="button button-secondary frm-button-secondary"> | |
| 31 | + <a href="<?php echo esc_url( FrmAppHelper::admin_upgrade_link( 'header' ) ); ?>" class="button button-secondary frm-button-secondary" target="_blank" rel="noopener"> | |
| 23 | 32 | <?php esc_html_e( 'Upgrade', 'formidable' ); ?> |
| 24 | 33 | </a> |
| 25 | 34 | <?php } ?> |
| 26 | 35 | </div> |