• Resolved ahcj

    (@ahcj)


    I have the mixed-content fixer working correctly for my site, however I still get mixed-content inside my WordPress admin. Is this correct behavior for this plugin?

    If not, here are some details if they help:

    Admin pages that show avatars, such as the comments listing and user listing, give mixed content because the avatar URLs remain https://.

    These are local avatars, and I am using the plugin “Simple Local Avatars.”

Viewing 1 replies (of 1 total)
  • Plugin Author Rogier Lankhorst

    (@rogierlankhorst)

    The free version of the plugin does not fix the mixed content on the back-end: that’s usually not necessary.

    If it is just the gravatar images causing the mixed content, you might be able to solve it by adding this code to your functions.php:

    add_filter( 'get_avatar', 'rsssl_fix_mix_content_avatar', 10, 5);
    function rsssl_fix_mix_content_avatar($avatar, $id_or_email, $size, $alt, $args){ 
    ? ? return str_replace('https://', 'https://', $avatar); 
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Does the mixed-content fixer apply to the WordPress admin?’ is closed to new replies.