From ac6bbcce136949811399f26e72d6d9eb92b293c5 Mon Sep 17 00:00:00 2001
From: ZsgsDesign
+
Date: Wed, 10 Apr 2019 00:16:26 +0800
Subject: [PATCH 3/4] adaptive protocol
---
licensereturn.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/licensereturn.php b/licensereturn.php
index 9a1bace..041e33d 100644
--- a/licensereturn.php
+++ b/licensereturn.php
@@ -1,6 +1,6 @@
-
+
Date: Thu, 11 Apr 2019 00:23:25 +0800
Subject: [PATCH 4/4] better to always use https
---
licensereturn.php | 2 +-
wplicense.php | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/licensereturn.php b/licensereturn.php
index 041e33d..9a1bace 100644
--- a/licensereturn.php
+++ b/licensereturn.php
@@ -1,6 +1,6 @@
-
+
_logger('Got default settings');
return $license = array(
- 'deed' => '//creativecommons.org/licenses/by-sa/4.0/',
- 'image' => '//i.creativecommons.org/l/by-sa/4.0/88x31.png',
+ 'deed' => 'https://creativecommons.org/licenses/by-sa/4.0/',
+ 'image' => 'https://i.creativecommons.org/l/by-sa/4.0/88x31.png',
'attribute_to' => '',
'title' => get_bloginfo('name'),
'name' => 'Creative Commons Attribution-Share Alike 4.0 License',
@@ -308,7 +308,7 @@ function select_license_html( $location = null, $echo = true ) {
$html = '';
$html .= "";
- $html .= '
plugin_url . 'licensereturn.php?url=[license_url]%26name=[license_name]%26button=[license_button]%26deed=[deed_url]&';