[wp-trac] [WordPress Trac] #27336: Pass a custom CSS class to get_avatar

WordPress Trac noreply at wordpress.org
Mon Mar 10 09:41:41 UTC 2014


#27336: Pass a custom CSS class to get_avatar
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.8.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Is there any chance the usage of {{{get_avatar}}} could be modified so
 that a custom CSS class can be passed? For example:

 {{{get_avatar( $id_or_email, $size, $default, $alt, $class );}}}

 https://codex.wordpress.org/Function_Reference/get_avatar

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27336>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list