forked from littlebizzy/force-https
-
Notifications
You must be signed in to change notification settings - Fork 0
/
force-https.php
28 lines (25 loc) · 760 Bytes
/
force-https.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php
/*
Plugin Name: Force HTTPS
Plugin URI: https://www.littlebizzy.com/plugins/force-https
Description: Redirects all HTTP requests to the HTTPS version and fixes insecure links and resources without altering the database (also works with CloudFlare).
Version: 1.4.1
Author: LittleBizzy
Author URI: https://www.littlebizzy.com
License: GPLv3
License URI: https://www.gnu.org/licenses/gpl-3.0.html
PBP Version: 1.2.0
WC requires at least: 3.3
WC tested up to: 3.5
Prefix: FHTTPS
*/
// Plugin namespace
namespace LittleBizzy\ForceHTTPS;
// Plugin constants
const FILE = __FILE__;
const PREFIX = 'fhttps';
const VERSION = '1.4.1';
const REPO = 'littlebizzy/force-https';
// Boot
require_once dirname(FILE).'/helpers/boot.php';
Helpers\Boot::instance(FILE);