[buddypress-trac] [BuddyPress] #2697: Make it easier to shut off Gravatar

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Sat Oct 30 15:11:24 UTC 2010


#2697: Make it easier to shut off Gravatar
--------------------------+-------------------------------------------------
 Reporter:  boonebgorges  |       Owner:  boonebgorges
     Type:  enhancement   |      Status:  new         
 Priority:  minor         |   Milestone:  1.3         
Component:  Core          |    Keywords:              
--------------------------+-------------------------------------------------
Changes (by westi):

 * cc: westi (added)


Comment:

 Rather than a global constant a better way is just to pass the $no_grav
 value through a filter here:

 https://trac.buddypress.org/browser/trunk/bp-core/bp-core-avatars.php#L210

 e.g.
 {{{
 if ( ! apply_filters( 'bp_core_fetch_avatar_no_grav', $no_grav ) {
 }}}

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2697#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list