Changeset 6812
- Timestamp:
- 02/22/2013 04:52:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/bp-core-avatars.php
r6707 r6812 519 519 $bp->avatar_admin->original = wp_handle_upload( $file['file'], array( 'action'=> 'bp_avatar_upload' ) ); 520 520 521 // Remove the upload_dir filter, so that other upload URLs on the page 522 // don't break 523 remove_filter( 'upload_dir', $upload_dir_filter, 10, 0 ); 524 521 525 // Move the file to the correct upload location. 522 526 if ( !empty( $bp->avatar_admin->original['error'] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.