Changeset 2008289
- Timestamp:
- 01/08/2019 09:20:30 AM (7 years ago)
- Location:
- ctw-ssl-for-cloudflare/trunk
- Files:
-
- 2 edited
-
plugin.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ctw-ssl-for-cloudflare/trunk/plugin.php
r1691330 r2008289 4 4 * Plugin URI: https://weslink.de 5 5 * Description: Adds Support of CloudFlare Flexibles SSL for WordPress 6 * Version: 1.0. 86 * Version: 1.0.9 7 7 * Text Domain: wl-ssl-for-cloudflare 8 8 * Author: Weslink … … 15 15 16 16 public function ensureSSL() { 17 17 18 18 // for cloudflare 19 19 if ( isset( $_SERVER[ 'HTTP_CF_VISITOR' ] ) && ( strpos( $_SERVER[ 'HTTP_CF_VISITOR' ], 'https' ) !== false ) ) { … … 23 23 // for other... 24 24 if(isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && $_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https'){ 25 $_SERVER['HTTPS']='on'; 26 } 27 25 $_SERVER['HTTPS']='on'; 26 } 27 28 28 } 29 29 -
ctw-ssl-for-cloudflare/trunk/readme.txt
r2008282 r2008289 7 7 Requires at least: 3.2.1 8 8 Tested up to: 5.0.2 9 Stable tag: 1.0. 89 Stable tag: 1.0.9 10 10 11 11 Plugin to enable CloudFlare Flexible SSL for Wordpress and to prevent the Redirect Loop
Note: See TracChangeset
for help on using the changeset viewer.