We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66868da commit 81b75a6Copy full SHA for 81b75a6
paystack-forms.php
@@ -28,7 +28,7 @@
28
*/
29
function kkd_pff_paystack_enqueueScriptsFix() {
30
if (!is_admin()) {
31
- if (!empty($_SERVER['HTTPS'])) {
+ if (!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] != "off")) {
32
global $wp_scripts;
33
foreach ((array) $wp_scripts->registered as $script) {
34
if (stripos($script->src, 'http://', 0) !== FALSE)
@@ -43,7 +43,7 @@ function kkd_pff_paystack_enqueueScriptsFix() {
43
44
function kkd_pff_paystack_enqueueStylesFix() {
45
46
47
global $wp_styles;
48
foreach ((array) $wp_styles->registered as $script) {
49
0 commit comments