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 1 reply, has 2 voices, and was last updated by  Jacob 8 months, 2 weeks ago.

  • Author
    Posts
  • #14417

    douglaskarr
    Member
    Post count: 2

    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

  • #14463

    Jacob
    Staff
    Post count: 2516

    Hey there, You must be logged in to view this reply!

    Login | Register | Forgot Password?

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!