Forums

Twitter Widget Pro
URL scheme of containing page should be passed through to widgets.js UR (2 posts)

  1. Hawk777
    Member
    Posted 4 months ago #

    In wp-twitter-widget.php, on line 632, appears the following code:

    wp_enqueue_script( 'twitter-widgets', 'http://platform.twitter.com/widgets.js', array(), '1.0.0', true );

    To avoid mixed-content warnings when embedded in a WordPress installation served by HTTPS, it should read as follows:

    wp_enqueue_script( 'twitter-widgets', (is_ssl() ? 'https' : 'http') . '://platform.twitter.com/widgets.js', array(), '1.0.0', true );

    http://wordpress.org/extend/plugins/twitter-widget-pro/

  2. Aaron D. Campbell
    Member
    Posted 4 months ago #

    Thanks, this is getting added to version 2.3.8 which will be released in the next 15-20 minutes

Reply

You must log in to post.

About this Plugin

About this Topic