Skip to:
Content

Changeset 3960


Ignore:
Timestamp:
01/28/2011 07:29:11 PM (8 years ago)
Author:
djpaul
Message:

Don't set user_url. Fixes #3030

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-members/bp-members-signup.php

    r3917 r3960  
    476476    }
    477477
    478     // Update the user_url and display_name
    479478    // Support for WP < 3.1
    480479    if ( ! function_exists( 'wp_update_user' ) )
    481480        require_once( ABSPATH . WPINC . '/registration.php' );
    482481
    483     wp_update_user( array( 'ID' => $user_id, 'user_url' => bp_members_get_user_domain( $user_id ), 'display_name' => bp_core_get_user_displayname( $user_id ) ) );
     482    // Update the display_name
     483    wp_update_user( array( 'ID' => $user_id, 'display_name' => bp_core_get_user_displayname( $user_id ) ) );
    484484
    485485    // Set the password on multisite installs
  • trunk/bp-xprofile/bp-xprofile-functions.php

    r3949 r3960  
    506506
    507507    $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET display_name = %s WHERE ID = %d", $fullname, $user_id ) );
    508     $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_url = %s WHERE ID = %d", bp_core_get_user_domain( $user_id ), $user_id ) );
    509508}
    510509add_action( 'xprofile_updated_profile', 'xprofile_sync_wp_profile' );
Note: See TracChangeset for help on using the changeset viewer.