WordPress changing script source from https to http

In my header, I am using wp_enqueue_script to load some external files. The path begins https, but when I view the source in the browser, it changes to http.

Here is what I have:

Read More
wp_enqueue_script('handle', 'https://secure.example.com/path/file.aspx',array(), true);

But in the head, when I view source in the browser, I get this:

<script type='text/javascript' src='http://secure.example.com/path/file.aspx?ver=1'></script>

What is happening here?

Related posts

Leave a Reply

1 comment