Skip to content

Instantly share code, notes, and snippets.

From d0d0bf15033c2567062c8900e0e4ef13953f2e53 Mon Sep 17 00:00:00 2001
From: Tom Adams <[email protected]>
Date: Fri, 12 Apr 2013 16:38:34 -0400
Subject: [PATCH] Change gettext usage
---
classes/class-s2-core.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/classes/class-s2-core.php b/classes/class-s2-core.php
From d0c750611b10a017ffd3df55bc8c4dcb73dc1f89 Mon Sep 17 00:00:00 2001
From: Tom Adams <[email protected]>
Date: Fri, 5 Oct 2012 10:45:24 -0400
Subject: [PATCH 1/3] Mixed content
---
wp-socializer.php | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/wp-socializer.php b/wp-socializer.php
diff --git a/sharethis.php b/sharethis.php
index 79f6859..116f296 100644
--- a/sharethis.php
+++ b/sharethis.php
@@ -58,7 +58,7 @@ function install_ShareThis(){
if($widget==false || !preg_match('/stLight.options/',$widget)){
$pkey2=get_option('st_pubid');
$widget ="<script charset=\"utf-8\" type=\"text/javascript\">var switchTo5x=true;</script>";
- $widget.="<script charset=\"utf-8\" type=\"text/javascript\" src=\"http://w.sharethis.com/button/buttons.js\"></script>";
+ $widget.="<script charset=\"utf-8\" type=\"text/javascript\" src=\"https://ws.sharethis.com/button/buttons.js\"></script>";
From d81aefc658a569e3adc84d02e8ae8782bfdc455e Mon Sep 17 00:00:00 2001
From: Tom Adams <[email protected]>
Date: Tue, 27 Nov 2012 10:19:34 -0500
Subject: [PATCH] HTTPS support
---
sharethis.php | 40 ++++++++++++++++++++--------------------
wp_st_opt.js | 12 ++++++------
2 files changed, 26 insertions(+), 26 deletions(-)
From 1d13cebe32f27d6390b5c3f94a454b7c5d93b679 Mon Sep 17 00:00:00 2001
From: Tom Adams <[email protected]>
Date: Tue, 27 Nov 2012 09:14:57 -0500
Subject: [PATCH] Make it work over HTTPS
---
storify.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/storify.php b/storify.php