PluginProbe
Post Snippets – Custom WordPress Code Snippets Customizer / trunk
Post Snippets – Custom WordPress Code Snippets Customizer vtrunk
4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.1 1.7.2 1.7.3 1.8 1.8.1 1.8.2 1.8.3 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.8.9.1 1.8.9.2 1.9 1.9.1 1.9.2 1.9.3 1.9.4 1.9.5 All 115 releases
post-snippets / freemius / templates / secure-https-header.php

secure-https-header.php in Post Snippets – Custom WordPress Code Snippets Customizer trunk, at 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>