Strange behaviour with BBPress 2
-
I have this plugin activated with my BBPress forum (using latest version) but there is a broken avatar at the top of each topic like this:
“This topic contains 5 replies (+ 3 hidden), has 2 voices, and was last updated by Admin 3 seconds ago. This post has been viewed 43 times”
Where it says “admin” above there is a broken image.
The source code seems to be this:
<img width="14" height="9" class="avatar avatar-14 wp-user-avatar wp-user-avatar-14 alignnone photo" alt="admin" src="https://mywebsite. This post has been viewed 43 timescom/wp-content/uploads/2014/07/Admin. This post has been viewed 43 timesgif">
I relaced my actual website with “mywebsite” in the above code. It has no .com after it or an end tag which I think is causing the issue.
It looks to be from line 373 in class-wp-user-avatar-functions.php
// Construct the img tag $avatar = '<img src="'.$wpua_image[0].'"'.$dimensions.' alt="'.$alt.'" class="avatar avatar-'.$size.' wp-user-avatar wp-user-avatar-'.$size.$alignclass.' photo" />'; } else {
I’m not sure how I should fix this, can anyone help please?
- The topic ‘Strange behaviour with BBPress 2’ is closed to new replies.