Twitter Profile Widget Image not returned via Secure Connection

This topic is: Not resolved

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!

This topic contains 0 replies, has 1 voice, and was last updated by  douglaskarr 6 days, 10 hours ago.

  • Author
    Posts
  • #14417

    douglaskarr
    Member
    Post count: 1

    The image that’s displayed with the Twitter Profile Widget is not pulling from a secure site when the site is hosted securely. In widget-twitter-profile.php, I added the logic at line 51:

    if (is_ssl()) {
        		$profile_image_url = str_replace('http://', 'https://', $response_data['profile_image_url'] ); 
      		}

    Then I changed the output URL to $profile_image_url

You must be logged in to reply to this topic.

This is a PRIVATE forum for verified users only, to view the replies/answers, you must be logged in!