Skip to:
Content

BuddyPress.org

Changeset 1712


Ignore:
Timestamp:
08/26/2009 08:39:03 PM (15 years ago)
Author:
apeatling
Message:

Making sure the upload dir filter passes no variables.

File:
1 edited

Legend:

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

    r1709 r1712  
    197197   
    198198    // Filter the upload location
    199     add_filter( 'upload_dir', $upload_dir_filter );
     199    add_filter( 'upload_dir', $upload_dir_filter, 10, 0 );
    200200   
    201201    $bp->avatar_admin->original = wp_handle_upload( $file['file'], array( 'action'=> 'bp_avatar_upload' ) );
Note: See TracChangeset for help on using the changeset viewer.