Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/24/2014 11:48:48 PM (12 years ago)
Author:
johnjamesjacoby
Message:

Replace BP_PLUGIN_DIR and BP_PLUGIN_URL constant usages with plugin_dir and plugin_url BuddyPress variables, respectively. Also replaces $bp global touches with buddypress() calls within the above scopes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-template.php

    r7751 r7756  
    11391139}
    11401140        function bp_get_signup_avatar( $args = '' ) {
    1141                 global $bp;
     1141                $bp = buddypress();
    11421142
    11431143                $defaults = array(
     
    11701170                                $default_grav = 'wavatar';
    11711171                        else if ( 'mystery' == $bp->grav_default->user )
    1172                                 $default_grav = BP_PLUGIN_URL . 'bp-core/images/mystery-man.jpg';
     1172                                $default_grav = $bp->plugin_url . 'bp-core/images/mystery-man.jpg';
    11731173                        else
    11741174                                $default_grav = $bp->grav_default->user;
Note: See TracChangeset for help on using the changeset viewer.