Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/15/2009 07:43:18 AM (17 years ago)
Author:
apeatling
Message:

Removed all references to deprecated MUPLUGINDIR and replaced with WPMU_PLUGIN_DIR and WPMU_PLUGIN_URL.

File:
1 edited

Legend:

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

    r1176 r1209  
    1616define( 'CORE_CROPPING_CANVAS_MAX', apply_filters( 'bp_core_avatar_cropping_canvas_max', 450 ) );
    1717define( 'CORE_MAX_FILE_SIZE', get_site_option('fileupload_maxk') * 1024 );
    18 define( 'CORE_DEFAULT_AVATAR', apply_filters( 'bp_core_avatar_default_src', site_url( MUPLUGINDIR . '/bp-xprofile/images/none.gif' ) ) );
    19 define( 'CORE_DEFAULT_AVATAR_THUMB', apply_filters( 'bp_core_avatar_default_thumb_src', site_url( MUPLUGINDIR . '/bp-xprofile/images/none-thumbnail.gif' ) ) );
     18define( 'CORE_DEFAULT_AVATAR', apply_filters( 'bp_core_avatar_default_src', WPMU_PLUGIN_URL . '/bp-xprofile/images/none.gif' ) );
     19define( 'CORE_DEFAULT_AVATAR_THUMB', apply_filters( 'bp_core_avatar_default_thumb_src', WPMU_PLUGIN_URL . '/bp-xprofile/images/none-thumbnail.gif' ) );
    2020
    2121function bp_core_get_avatar( $user, $version = 1, $width = null, $height = null, $no_tag = false ) {
     
    4949            $default_grav = 'wavatar';
    5050        } else if ( 'mystery' == $grav_option ) {
    51             $default_grav = site_url( MUPLUGINDIR . '/bp-core/images/mystery-man.jpg');
     51            $default_grav = WPMU_PLUGIN_URL . '/bp-core/images/mystery-man.jpg';
    5252        } else {
    5353            $default_grav = $grav_option;
Note: See TracChangeset for help on using the changeset viewer.