Support » Plugin: WP-reCAPTCHA » mixed content warning in https

  • When using wordpress in https we get a mixed content warning because of a link to

    Something along the lines of the following in wp-plugin.php worked for us:

    static function plugins_url() {
      $siteurl = get_option('siteurl');
      if (isset($_SERVER['HTTPS'])) {
        $siteurl = str_ireplace('http://', 'https://', $siteurl);
      if (WPPlugin::determine_environment() == Environment::WordPressMU)
        return $siteurl . '/wp-content/mu-plugins';
        return $siteurl . '/wp-content/plugins';
  • The topic ‘mixed content warning in https’ is closed to new replies.