Avatars not showing because backslash stripped by core
Hi, ive had problems from my users that avatars are not showing in the forums. I checked it out & it seems theres a backslash being removed from the URL to the image. I had to remove:
add_filter( ‘bbp_get_topic_author_link’, ‘stripslashes’ ); from the filters.php and it now all works fine. Problem is my theme is in source control and surely editing core files cannot be correct, right?
This is in my loop-single-topic.php file and this is what displays the name and avatar:
<span class=”bbp-topic-started-by”><?php printf( __( ‘Started by: %1$s’), “”.bbp_get_topic_author_link( array( ‘size’ => ’90’))); ?></span>
Is this a known bug and is there a better way to fix this? I am using the latest BBpress and WordPress 4.0. Avatar plugin is WP User Avatar
- You must be logged in to reply to this topic.