Local avatars not used for FB style 1

[ad_1]

Hi there

We noticed that the plugin does not check “userpiclocal” when rendering the image using partials/template_style_1.php

This means that the avatars will stop working after a little while. The local version of the image is being used in the back-end though.

An easy fix would be to add an extra check around line 46 like this:

	if($review->userpiclocal!=""){ // Add this line
$userpic = $review->userpiclocal; // Add this line
} else if($review->userpic!=""){ // Change this to "else if"
$userpic = $review->userpic;
}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer