Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3499 closed defect (bug) (worksforme)

Mystery man + gravatar double http requests

Reported by: modemlooper Owned by:
Milestone: 1.5 Priority: normal
Severity: minor Version:
Component: Core Keywords:
Cc:

Description

Is there any way to refactor this so the mystery man is not being routed through gravatar? It's causing double http requests. SEE IMAGE.

Attachments (1)

Screen Shot 2011-08-19 at 12.26.01 PM.png (94.1 KB) - added by modemlooper 10 years ago.

Download all attachments as: .zip

Change History (4)

#1 @r-a-y
10 years ago

  • Resolution set to worksforme
  • Status changed from new to closed

Add the following in /plugins/bp-custom.php:

add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );

This skips the Gravatar check and uses your default BP avatar.

#2 @modemlooper
10 years ago

Thanks ray! just used this on BP mobile to save bandwidth and time.

#3 @johnjamesjacoby
10 years ago

  • Keywords dev-feedback removed
  • Milestone changed from Awaiting Review to 1.5

Moving closed ticket out of Awaiting Review.

Note: See TracTickets for help on using tickets.