[wp-trac] [WordPress Trac] #23558: Twenty Thirteen: Comment author's name looks out of place when avatar display is turned off in discussion settings.
WordPress Trac
noreply at wordpress.org
Fri Feb 22 12:12:48 UTC 2013
#23558: Twenty Thirteen: Comment author's name looks out of place when avatar
display is turned off in discussion settings.
-------------------------------------+--------------------
Reporter: SriniG | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: Bundled Theme | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------
Comment (by SriniG):
@cdog: I don't think we need to conditionally check `get_option(
'show_avatar' )` in order to `echo get_avatar()`. It seems the function
`get_avatar()` somehow handles the condition by itself. If you view source
after disabling avatars, you'll find there is no empty img tag or anything
like that.
I am also not in favour of introducing a middot, or changing anything
inside the `twentythirteen_comment` function, unless absolutely necessary.
All changes can be made via CSS making use of the `no-avatar` class added
through the `comment_class` filter hook.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/23558#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list