File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 3
3
Plugin Name: Force HTTPS
4
4
Plugin URI: https://www.littlebizzy.com/plugins/force-https
5
5
Description: HTTPS enforcement for WordPress
6
- Version: 2.0.1
6
+ Version: 2.0.2
7
7
Author: LittleBizzy
8
8
Author URI: https://www.littlebizzy.com
9
9
License: GPLv3
10
10
License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
11
GitHub Plugin URI: littlebizzy/force-https
12
12
Primary Branch: master
13
- Prefix: FHTTPS
14
13
*/
15
14
16
- // Exit if accessed directly
17
- if (! defined ('ABSPATH ' ) ) {
15
+ // prevent direct access
16
+ if ( ! defined ( 'ABSPATH ' ) ) {
18
17
exit ;
19
18
}
20
19
21
- // Disable WordPress .org updates for this plugin
22
- add_filter ('gu_override_dot_org ' , function ( $ overrides ) {
20
+ // disable wordpress .org updates for this plugin
21
+ add_filter ( 'gu_override_dot_org ' , function ( $ overrides ) {
23
22
$ overrides [] = 'force-https/force-https.php ' ;
24
23
return $ overrides ;
25
- });
24
+ }, 999 );
26
25
27
26
// Force HTTPS redirection for all non-HTTPS requests
28
27
add_action ('init ' , function () {
You can’t perform that action at this time.
0 commit comments