Mixed content with mail.ru

edited October 2015 in Questions
Photo of people from mail.ru work in HTTP protocol, not HTTPS. Please solve this problem!
https://yadi.sk/i/ImL753pUjcfsb
https://yadi.sk/i/pszwbkKwjcftC

Answers

  • Hi,
    Hum, the mail.ru API seems to give the http links to pictures. We do not see a way to specify https links for now...
    You can try to fix it on your wordpress installation.
    1. open the file plugins/oa-social-login/includes/user_interface.php:
    2. locate the lines (around line 639):
    if ($user_picture !== false AND strlen (trim ($user_picture)) > 0)
    {
    3. Insert the following code immediately after the previous lines:
    if ($user_picture !== false AND strlen (trim ($user_picture)) > 0)
    {
        $user_picture = str_replace('http:', 'https:', $user_picture);

    Regards.

Welcome!

Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.