Created
November 27, 2012 14:26
-
-
Save mallorydxw/4154486 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 1d13cebe32f27d6390b5c3f94a454b7c5d93b679 Mon Sep 17 00:00:00 2001 | |
From: Tom Adams <tom@dxw.com> | |
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 | |
index ddf7835..20f47bd 100644 | |
--- a/storify.php | |
+++ b/storify.php | |
@@ -34,7 +34,7 @@ class WP_Storify { | |
public $permalink_callback_regex = '#^http://(www\.)?storify.com/([A-Z0-9-_]+)/([A-Z0-9-]+)(/)?$#i'; | |
//embed code, %1$s is username, %2$s is story slug | |
- public $embed_code = '<script src="http://storify.com/%1$s/%2$s.js?header=false&sharing=false&border=false"></script>'; | |
+ public $embed_code = '<script src="//storify.com/%1$s/%2$s.js?header=false&sharing=false&border=false"></script>'; | |
//link to edit story, %1$s is username, %2$s is story slug | |
public $edit_link = 'http://storify.com/%1$s/%2$s/edit'; | |
-- | |
1.7.10.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment