Forums
Forums / Plugin: DW Question & Answer / Bug in the comment section
(@mihaelpresecan)
11 years, 1 month ago
Hello
I just found a bug in comment section. I didnt had this before upgrade to wp 4.2. The avatar picture is 96px big, from some reason as on this pic: http://i1267.photobucket.com/albums/jj550/m_presecan/dwqaBug_zpsd4xhqxf7.jpg
the solution is to change code in dw-question-answer/inc/templates/default/content-comment.php on line 21 from this (old one) echo get_avatar( $comment->user_id, 0 ); to this echo get_avatar( $comment->user_id, 32 );
echo get_avatar( $comment->user_id, 0 );
echo get_avatar( $comment->user_id, 32 );
hope it helps somebody cheers
https://ww.wp.xz.cn/plugins/dw-question-answer/
The topic ‘Bug in the comment section’ is closed to new replies.
(@mihaelpresecan)
11 years, 1 month ago
Hello
I just found a bug in comment section.
I didnt had this before upgrade to wp 4.2.
The avatar picture is 96px big, from some reason as on this pic: http://i1267.photobucket.com/albums/jj550/m_presecan/dwqaBug_zpsd4xhqxf7.jpg
the solution is to change code in dw-question-answer/inc/templates/default/content-comment.php on line 21 from this (old one)
echo get_avatar( $comment->user_id, 0 );to this
echo get_avatar( $comment->user_id, 32 );hope it helps somebody
cheers
https://ww.wp.xz.cn/plugins/dw-question-answer/