Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/17/2015 06:20:07 PM (5 years ago)
Author:
imath
Message:

Extends the BP Attachment class for the avatars need

BP_Attachment_Avatar is a new class that extends the BP_Attachment one to manage the avatar uploads.
It contains specific methods required by avatars, such as shrinking or cropping an image.

Props johnjamesjacoby, boonebgorges

See #6278

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-core/bp-core-classes.php

    r9622 r9623  
    2323require dirname( __FILE__ ) . '/classes/class-bp-media-extractor.php';
    2424require dirname( __FILE__ ) . '/classes/class-bp-attachment.php';
     25require dirname( __FILE__ ) . '/classes/class-bp-attachment-avatar.php';
Note: See TracChangeset for help on using the changeset viewer.