Plugin Directory

Changeset 2008289


Ignore:
Timestamp:
01/08/2019 09:20:30 AM (7 years ago)
Author:
weslink
Message:

Preparing for 1.0.9 release

Location:
ctw-ssl-for-cloudflare/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ctw-ssl-for-cloudflare/trunk/plugin.php

    r1691330 r2008289  
    44 * Plugin URI: https://weslink.de
    55 * Description: Adds Support of CloudFlare Flexibles SSL for WordPress
    6  * Version: 1.0.8
     6 * Version: 1.0.9
    77 * Text Domain: wl-ssl-for-cloudflare
    88 * Author: Weslink
     
    1515
    1616    public function ensureSSL() {
    17        
     17
    1818        // for cloudflare
    1919        if ( isset( $_SERVER[ 'HTTP_CF_VISITOR' ] ) && ( strpos( $_SERVER[ 'HTTP_CF_VISITOR' ], 'https' ) !== false ) ) {
     
    2323        // for other...
    2424        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
    2828    }
    2929
  • ctw-ssl-for-cloudflare/trunk/readme.txt

    r2008282 r2008289  
    77Requires at least: 3.2.1
    88Tested up to: 5.0.2
    9 Stable tag: 1.0.8
     9Stable tag: 1.0.9
    1010
    1111Plugin to enable CloudFlare Flexible SSL for Wordpress and to prevent the Redirect Loop
Note: See TracChangeset for help on using the changeset viewer.