Wordpress (WooCommerce?) forces https (when it shouldn't)

后端 未结 4 754
一整个雨季
一整个雨季 2021-01-25 15:08

I\'m experiencing a strange issue on a WooCommerce installation my company has taken over. It\'s not us who built it and unfortunately it\'s pretty crappy built so I\'m not so s

4条回答
  •  再見小時候
    2021-01-25 15:50

    Kirby is right.

    I did a quick fix modifying the Wordpress core function is_ssl().

    I return false at the beginning of the function because some of my websites do not have SSL.

    It's not recommended modify the core of Wordpress because of the updates, but I can control that.

提交回复
热议问题