• Hi,

    I’ve just noticed that when a user clicks the Tweet button in the sidebar and the pop-up box appears (with the link), it adds an ‘https’ in front of the blog post link. It should only be http and this is breaking the link. Is there anyway to fix this?

    Nowhere on our site do we utilize https.

    Thanks!

    – Cameron

    https://wordpress.org/plugins/wp-socializer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter CamJor

    (@camjor)

    any ideas?

    Thread Starter CamJor

    (@camjor)

    Figured it out (well at least a temporary fix). For anyone that is having the same issue:

    In wp-socializer.php, replace line 1148 with this:

    $url = (!empty($_SERVER['HTTPS'])) ? "http://" . htmlspecialchars($_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI'] :

    what it originally was:

    $url = (!empty($_SERVER['HTTPS'])) ? "https://" . htmlspecialchars($_SERVER['HTTP_HOST']) . $_SERVER['REQUEST_URI'] :

    Thread Starter CamJor

    (@camjor)

    resolved.

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

The topic ‘Sidebar – Tweet Button adding blog post link as 'https'’ is closed to new replies.