Changeset 1209 for trunk/bp-core/bp-core-avatars.php
- Timestamp:
- 03/15/2009 07:43:18 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/bp-core/bp-core-avatars.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r1176 r1209 16 16 define( 'CORE_CROPPING_CANVAS_MAX', apply_filters( 'bp_core_avatar_cropping_canvas_max', 450 ) ); 17 17 define( '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' )) );18 define( 'CORE_DEFAULT_AVATAR', apply_filters( 'bp_core_avatar_default_src', WPMU_PLUGIN_URL . '/bp-xprofile/images/none.gif' ) ); 19 define( 'CORE_DEFAULT_AVATAR_THUMB', apply_filters( 'bp_core_avatar_default_thumb_src', WPMU_PLUGIN_URL . '/bp-xprofile/images/none-thumbnail.gif' ) ); 20 20 21 21 function bp_core_get_avatar( $user, $version = 1, $width = null, $height = null, $no_tag = false ) { … … 49 49 $default_grav = 'wavatar'; 50 50 } 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'; 52 52 } else { 53 53 $default_grav = $grav_option;
Note: See TracChangeset
for help on using the changeset viewer.