PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Queued scripts and styles use the wrong protocol

  1. developdaly
    Member

    When Gravity queues scripts or styles for loading on the frontend and admin side it is doing so using the wrong protocol, so the end result is loading http:// resources on a secure page, giving the user warnings.

    I checked that you're using plugins_url() to determine the plugin's path, so I'm not really sure why it's not being respected. The most likely cause is that my SSL plugin is firing after Gravity. Do you guys have any experience with that being the case with the WordPress HTTPS plugin?http://wordpress.org/extend/plugins/wordpress-https/

    Posted 7 years ago on Friday April 6, 2012 | Permalink
  2. This seems to be a problem isolated to your configuration. In my local install the scripts do get enqueued with the correct protocol. I am not sure if the WordPress HTTPS plugin is the one causing the issue, but one suggestion I have is to go through the plugin conflict process to determine where the conflict is.
    http://www.gravityhelp.com/documentation/page/Testing_for_a_Plugin_Conflict
    Once we determine what is causing the issue, I can dig deeper and figure out why.

    Posted 7 years ago on Monday April 9, 2012 | Permalink