Plugin Directory

Changeset 1239679


Ignore:
Timestamp:
09/07/2015 11:05:30 AM (10 years ago)
Author:
StatCounter
Message:

SSL workaround for the src and img attributes into html tags, this fix warnings about security

Location:
official-statcounter-plugin-for-wordpress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • official-statcounter-plugin-for-wordpress/trunk/StatCounter-Wordpress-Plugin.php

    r1236216 r1239679  
    234234}
    235235
    236 $protocol = strtolower(substr($_SERVER["SERVER_PROTOCOL"],0,5))=='https'?'https':'http';
    237 $protocol = isset($_SERVER["HTTPS"]) ? 'https' : 'http';
     236define('HTTPS', isset($_SERVER['HTTPS']) && filter_var($_SERVER['HTTPS'], FILTER_VALIDATE_BOOLEAN));
     237$protocol = defined('HTTPS') ? "https:" : "http:";
    238238
    239239?>
  • official-statcounter-plugin-for-wordpress/trunk/readme.txt

    r1231080 r1239679  
    55Requires at least: 2.0.2
    66Tested up to: 4.3
    7 Stable tag: 2.0
     7Stable tag: 2.0.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7070
    7171== Changelog ==
     72= 2.0.1=
     73security enhancements
    7274
    7375= 2.0 =
     
    151153= 1.6.2 =
    152154Upgrade to allow for fully functioning PayPal upgrade options.
    153 
Note: See TracChangeset for help on using the changeset viewer.