Plugin Directory


Ignore:
Timestamp:
09/05/2017 08:16:14 AM (9 years ago)
Author:
mra13
Message:

Additional options are only accessible when "Enable automatic redirection to the "HTTPS" is enabled.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • https-redirection/trunk/https-redirection.php

    r1584128 r1724736  
    33/*
    44  Plugin Name: Easy HTTPS (SSL) Redirection
    5   Plugin URI: https://www.tipsandtricks-hq.com/development-center
     5  Plugin URI: https://www.tipsandtricks-hq.com/wordpress-easy-https-redirection-plugin
    66  Description: The plugin HTTPS Redirection allows an automatic redirection to the "HTTPS" version/URL of the site.
    77  Author: Tips and Tricks HQ
    8   Version: 1.6
     8  Version: 1.7
    99  Author URI: https://www.tipsandtricks-hq.com/
    1010  License: GPLv2 or later
     
    125125/*
    126126 * Function that changes "http" embeds to "https"
    127  * TODO - Need to make it better so it only does it for static resources like JS, CSS and Images
    128127 */
    129128
     
    173172            $on_https_page = false;
    174173            foreach ($httpsrdrctn_options['https_pages_array'] as $https_page) {
    175                 $pages_str.=preg_quote($https_page, '/') . '[\/|][\'"]|'; //let's add page to the preg expression string in case we'd need it later
     174                $pages_str .= preg_quote($https_page, '/') . '[\/|][\'"]|'; //let's add page to the preg expression string in case we'd need it later
    176175                if ($https_page == $slug) { //if we are on the page that is in the array, let's set the var to true
    177176                    $on_https_page = true;
Note: See TracChangeset for help on using the changeset viewer.