Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webaware

    (@webaware)

    G’day wwidjaja,

    The problem is the language flags for the qTranslate plugin. That plugin is using the constant WP_CONTENT_URL to locate the flag images; this can fail in several different ways, one of which is presenting the flags on an https connection.

    The plugin does try to handle this by doing its own SSL detection, rather than using the WordPress function is_ssl() which would be better. For some reason, that’s failing on your server, probably because your server isn’t setting $_SERVER['HTTPS'] — but the WordPress function is working OK (probably detecting port 443) so everything else is working OK, just not the qTranslate plugin.

    What the plugin should be doing instead is using the plugins_url() function to get the URLs to the flag images, or perhaps plugin_dir_url() to get the base URL for the plugin. Either approach would cater to both http vs https, and installs where the plugins aren’t found in /wp-content/plugins.

    You should let @chineseleper know about this in that plugin’s support forum, so that he can get a fix out.

    cheers,
    Ross

    Thread Starter wwidjaja

    (@wwidjaja)

    Thanks Ross, I will try to post what you said here on that forum

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘insecure mixed content’ is closed to new replies.