Ticket #5836: 5836.02.patch
File 5836.02.patch, 550 bytes (added by , 10 years ago) |
---|
-
src/bp-xprofile/bp-xprofile-functions.php
diff --git src/bp-xprofile/bp-xprofile-functions.php src/bp-xprofile/bp-xprofile-functions.php index beffd5b..f6f2dee 100644
add_action( 'bp_core_activated_user', 'xprofile_sync_wp_profile' ); 767 767 function xprofile_sync_bp_profile( &$errors, $update, &$user ) { 768 768 769 769 // Bail if profile syncing is disabled 770 if ( bp_disable_profile_sync() ) {770 if ( bp_disable_profile_sync() || ! $update || $errors->get_error_codes() ) { 771 771 return; 772 772 } 773 773