forked from littlebizzy/force-https
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforce-https.php
More file actions
27 lines (24 loc) · 718 Bytes
/
force-https.php
File metadata and controls
27 lines (24 loc) · 718 Bytes
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
<?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.3.0
Author: LittleBizzy
Author URI: https://www.littlebizzy.com
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
PBP Version: 1.1.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.3.0';
// Boot
require_once dirname(FILE).'/helpers/boot.php';
Helpers\Boot::instance(FILE);