| 1 |
<?php |
| 2 |
/** |
| 3 |
* @package Freemius |
| 4 |
* @copyright Copyright (c) 2015, Freemius, Inc. |
| 5 |
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public License Version 3 |
| 6 |
* @since 1.2.1.8 |
| 7 |
* |
| 8 |
* @var array $VARS |
| 9 |
*/ |
| 10 |
|
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
exit; |
| 13 |
} |
| 14 |
?> |
| 15 |
<div class="fs-secure-notice"> |
| 16 |
<i class="dashicons dashicons-lock"></i> |
| 17 |
<span><?php |
| 18 |
if ( ! empty( $VARS['message'] ) ) { |
| 19 |
echo esc_html( $VARS['message'] ); |
| 20 |
} else { |
| 21 |
/** |
| 22 |
* @var Freemius $fs |
| 23 |
*/ |
| 24 |
$fs = freemius( $VARS['id'] ); |
| 25 |
|
| 26 |
echo esc_html( sprintf( |
| 27 |
/* translators: %s: Page name */ |
| 28 |
$fs->get_text_inline( 'Secure HTTPS %s page, running from an external domain', 'secure-x-page-header' ), |
| 29 |
$VARS['page'] |
| 30 |
) ) . |
| 31 |
' - ' . |
| 32 |
sprintf( |
| 33 |
'<a class="fs-security-proof" href="%s" target="_blank" rel="noopener">%s</a>', |
| 34 |
'https://www.mcafeesecure.com/verify?host=' . WP_FS__ROOT_DOMAIN_PRODUCTION, |
| 35 |
'Freemius Inc. [US]' |
| 36 |
); |
| 37 |
} |
| 38 |
?></span> |
| 39 |
</div> |