• Hi there. Great plugin. I have a client using it and it looks great.

    I noticed an issue in the recent tweets extension widget where the profile image from Twitter was an http:// URL when we needed https:// for our ecommerce system.

    I added code like this to fix the URL:

    if(is_ssl())
    	$profile_image_url = str_replace("http:", "https:", $profile_image_url);

    There are a few different ways to do this. You could even str_replace(‘http://’, ‘//’, $url) to make it scheme neutral.

    Cheers.

    https://ww.wp.xz.cn/plugins/the-twitter-profile/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jason Coleman

    (@strangerstudios)

    Just bumping cause you pushed an update without this in it. Wondering if you are going to consider this fix or if I should look for a work around. Thanks.

    Plugin Author Alobaidi

    (@alobaidi)

    This is not problem, image will be display in http or https,
    good luck.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Check for HTTPS for Profile/Banner Images’ is closed to new replies.