PluginProbe
WP Directory Kit / trunk
WP Directory Kit vtrunk
1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 1.4.0 1.4.1 All 35 releases
wpdirectorykit / vendor / freemius / templates / secure-https-header.php

secure-https-header.php in WP Directory Kit trunk, at vendor/freemius/templates/secure-https-header.php

39 lines 1.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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>