[wp-trac] [WordPress Trac] #30168: Collapse additional avatar settings if avatars are disabled
WordPress Trac
noreply at wordpress.org
Thu Jan 8 09:27:47 UTC 2015
#30168: Collapse additional avatar settings if avatars are disabled
-------------------------+---------------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.2
Component: Comments | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses: ui, administration
-------------------------+---------------------------------
Comment (by valendesigns):
Replying to [comment:9 helen]:
> Ah, sorry, I meant that there are no avatar previews when you toggle the
setting and subsequent sections on when previously avatars were off. We've
got a .hidden class, can go with that.
Sorry, I see what you mean now. I completely misunderstood you. In order
to make those show up we would need to remove the first 2 lines from
`get_avatar`.
{{{
if ( ! get_option('show_avatars') )
return false;
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30168#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list