Ticket #5429: 5429.01.diff
File 5429.01.diff, 1.8 KB (added by , 9 years ago) |
---|
-
bp-core/admin/bp-core-components.php
358 358 ); 359 359 360 360 // Optional core components 361 $optional_components = a rray(361 $optional_components = apply_filters( 'bp_core_admin_get_optional_components', array( 362 362 'xprofile' => array( 363 363 'title' => __( 'Extended Profiles', 'buddypress' ), 364 364 'description' => __( 'Customize your community with fully editable profile fields that allow your users to describe themselves.', 'buddypress' ) … … 395 395 'title' => __( 'Site Tracking', 'buddypress' ), 396 396 'description' => __( 'Record activity for new posts and comments from your site.', 'buddypress' ) 397 397 ) 398 ) ;398 ) ); 399 399 400 400 401 401 // Add blogs tracking if multisite -
bp-core/bp-core-avatars.php
764 764 $new_avatar_path = str_replace( $upload_dir['basedir'], '', $original_file ); 765 765 766 766 if ( $existing_avatar_path !== $new_avatar_path ) { 767 bp_core_delete_existing_avatar( array( 'object' => $object, ' avatar_path' => $avatar_folder_dir ) );767 bp_core_delete_existing_avatar( array( 'object' => $object, 'item_id' => $item_id,'avatar_path' => $avatar_folder_dir ) ); 768 768 } 769 769 } 770 770 -
bp-core/bp-core-loader.php
108 108 } 109 109 } 110 110 111 do_action( 'bp_core_components_included', $bp->active_components ); 112 111 113 // Add Core to required components 112 114 $bp->required_components[] = 'core'; 113 115 }