Changeset 1724736 for https-redirection/trunk/https-redirection.php
- Timestamp:
- 09/05/2017 08:16:14 AM (9 years ago)
- File:
-
- 1 edited
-
https-redirection/trunk/https-redirection.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
https-redirection/trunk/https-redirection.php
r1584128 r1724736 3 3 /* 4 4 Plugin Name: Easy HTTPS (SSL) Redirection 5 Plugin URI: https://www.tipsandtricks-hq.com/ development-center5 Plugin URI: https://www.tipsandtricks-hq.com/wordpress-easy-https-redirection-plugin 6 6 Description: The plugin HTTPS Redirection allows an automatic redirection to the "HTTPS" version/URL of the site. 7 7 Author: Tips and Tricks HQ 8 Version: 1. 68 Version: 1.7 9 9 Author URI: https://www.tipsandtricks-hq.com/ 10 10 License: GPLv2 or later … … 125 125 /* 126 126 * 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 Images128 127 */ 129 128 … … 173 172 $on_https_page = false; 174 173 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 later174 $pages_str .= preg_quote($https_page, '/') . '[\/|][\'"]|'; //let's add page to the preg expression string in case we'd need it later 176 175 if ($https_page == $slug) { //if we are on the page that is in the array, let's set the var to true 177 176 $on_https_page = true;
Note: See TracChangeset
for help on using the changeset viewer.