Skip to:
Content

BuddyPress.org

Changeset 2347


Ignore:
Timestamp:
01/19/2010 10:39:51 AM (15 years ago)
Author:
apeatling
Message:

Added mystery man gravtar image filter. This must be in the plugin to ensure a valid fallback image if all else fails. Fixes #1301

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-avatars.php

    r2274 r2347  
    132132            $default_grav = 'wavatar';
    133133        else if ( 'mystery' == $bp->grav_default->{$object} )
    134             $default_grav = BP_PLUGIN_URL . '/bp-core/images/mystery-man.jpg';
     134            $default_grav = apply_filters( 'bp_core_mysteryman_src', BP_PLUGIN_URL . '/bp-core/images/mystery-man.jpg' );
    135135        else
    136136            $default_grav = $bp->grav_default->{$object};
Note: See TracChangeset for help on using the changeset viewer.