Twitter Profile Widget Image not returned via Secure Connection

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

Status: not resolved
  • This topic has 1 reply, 2 voices, and was last updated 2 y, 4 mo by  Jacob.
Viewing 1 reply thread
  • Author
    Posts
    • #14417

      douglaskarr
      Member

      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

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

      Login | Register | Forgot Password?

Viewing 1 reply thread
  • You must be logged in to reply to this topic.

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

© Copyright 2019 by wpthms.com. All Rights Reserved.