Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/19/2011 10:48:35 PM (13 years ago)
Author:
djpaul
Message:

Fix a bunch of URLs containing double forward slashes. See #3779

File:
1 edited

Legend:

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

    r5479 r5574  
    4040
    4141    if ( !defined( 'BP_AVATAR_DEFAULT' ) )
    42         define( 'BP_AVATAR_DEFAULT', BP_PLUGIN_URL . '/bp-core/images/mystery-man.jpg' );
     42        define( 'BP_AVATAR_DEFAULT', BP_PLUGIN_URL . 'bp-core/images/mystery-man.jpg' );
    4343
    4444    if ( !defined( 'BP_AVATAR_DEFAULT_THUMB' ) )
    45         define( 'BP_AVATAR_DEFAULT_THUMB', BP_PLUGIN_URL . '/bp-core/images/mystery-man-50.jpg' );
     45        define( 'BP_AVATAR_DEFAULT_THUMB', BP_PLUGIN_URL . 'bp-core/images/mystery-man-50.jpg' );
    4646}
    4747add_action( 'bp_init', 'bp_core_set_avatar_constants', 3 );
     
    355355    // No avatar was found, and we've been told not to use a gravatar.
    356356    } else {
    357         $gravatar = apply_filters( "bp_core_default_avatar_$object", BP_PLUGIN_URL . '/bp-core/images/mystery-man.jpg', $params );
     357        $gravatar = apply_filters( "bp_core_default_avatar_$object", BP_PLUGIN_URL . 'bp-core/images/mystery-man.jpg', $params );
    358358    }
    359359
Note: See TracChangeset for help on using the changeset viewer.