[wp-trac] [WordPress Trac] #36031: Documentation for the pre_get_avatar hook

WordPress Trac noreply at wordpress.org
Tue Mar 1 15:18:26 UTC 2016


#36031: Documentation for the pre_get_avatar hook
--------------------------+-----------------------------
 Reporter:  henry.wright  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 > Passing a non-null value will effectively short-circuit get_avatar(),
 passing the value through the {@see 'pre_get_avatar'} filter and returning
 early.

 I believe the value is actually passed through the {{{get_avatar}}} hook,
 not {{{pre_get_avatar}}}.

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


More information about the wp-trac mailing list