Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Rogier Lankhorst

    (@rogierlankhorst)

    Thanks for the feedback. Because the wp_plugin_url is based on the siteurl, which is converted to https by the plugin, this should not be an issue. It might possible that immediately after activation, the wp_plugin_url is still based on a http link. But when you refresh or login again, this should be fixed. I will investigate this.

    If this is not the case in your setup, I would be very interested to see what happens on your website.

    In the next release, I will change the plugin_url according to your suggestion.

    Thread Starter dlouwe

    (@dlouwe)

    It looks like this issue was being caused by my WP_SITEURL and WP_HOME being set as https:// in my wp-config. I can see that the plugin tries to account for this, but unfortunately I don’t have a lot of time right now to try to debug why it didn’t/isn’t working in my particular case. However I can at least tell you that the plugins_url() function will correctly determine the URL as https regardless of how WP_SITEURL and WP_HOME are set.

    For now I’ll manually change my wp-config to use https as that does fix the issue, and really I should have done that in the first place.

    Thanks for your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adds non-https CSS file to admin pages’ is closed to new replies.