StartBox icon indicating copy to clipboard operation
StartBox copied to clipboard

Comment forms don't respect the "show avatars" setting in Discussion

Open Pypeline opened this issue 12 years ago • 0 comments

All you need is a check for get_option('show_avatars') in 2 places, the form for filling out a comment and the form for displaying a comment.

As of SB 2.7.1 in /includes/functions/comment_format.php you'll want to put this check about lines 69 (just before echo get_avatar...) and 113 (just before the $avatar_ variables start getting defined). In the second instance, you'll either have to set $avatar to blank or do an else where you just echo the element. Or something else I didn't think of.

Pypeline avatar May 22 '13 15:05 Pypeline