[buddypress-trac] [BuddyPress] #1717: Use BP constants for xprofile_avatar_upload_dir

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Thu Jan 28 06:07:43 UTC 2010


#1717: Use BP constants for xprofile_avatar_upload_dir
--------------------------------+-------------------------------------------
Reporter:  lunabyte             |       Owner:     
    Type:  defect               |      Status:  new
Priority:  major                |   Milestone:  1.2
Keywords:  avatar, avatar path  |  
--------------------------------+-------------------------------------------

Comment(by lunabyte):

 Found what I hope is the final break in the string.

 bp-core-avatars.php, bp_core_avatar_handle_crop();

 Removing WP_CONTENT_DIR from both full_cropped and thumb_cropped calls to
 wp_crop_image, and leaving as just original_file, as well as from the
 @unlink below that, did the trick.

 Dunno about blog/group avatars yet.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/1717#comment:2>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list