Support » Plugin: Leira Letter Avatar » avatars are not displayed

  • Resolved djoni7811

    (@djoni7811)


    when switching from http to https, avatars are no longer displayed, when viewing the code, they try to load from http if I disable the plugin, then avatars start loading from https.

    https://skr.sh/s5g1xT56tI3

    • This topic was modified 4 weeks ago by djoni7811.
    • This topic was modified 4 weeks ago by djoni7811.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ariel

    (@arielhr1987)

    Hi @djoni7811

    I think the problem is related to a wordpress core function.
    Can you add this code to your functions.php to check if it fix the problem?
    If so please let me know so i can add the fix in the next plugin release, ot otherwise check for other soluction

    function get_avatar_url_test($url, $id_or_email, $args){
    	return set_url_scheme($url);
    }
    add_filter('get_avatar_url', 'get_avatar_url_test', 99999, 3);

    Thanks it helped

    Plugin Author Ariel

    (@arielhr1987)

    @djoni7811

    Since version 1.3.0 the problem is fixed.
    No need to use snippet above.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.