WordPress.org

Make WordPress Core


Ignore:
Timestamp:
12/15/2010 04:04:19 PM (9 years ago)
Author:
ryan
Message:

Skip confirmation email fixes. Props ocean90, duck_. see #15725

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/ms-functions.php

    r16848 r16949  
    13881388        $blog_id = $meta[ 'add_to_blog' ];
    13891389        $role = $meta[ 'new_role' ];
    1390         remove_user_from_blog($user_id, $current_site->blogid); // remove user from main blog.
     1390        remove_user_from_blog($user_id, $current_site->blog_id); // remove user from main blog.
    13911391        add_user_to_blog( $blog_id, $user_id, $role );
    13921392        update_user_meta( $user_id, 'primary_blog', $blog_id );
Note: See TracChangeset for help on using the changeset viewer.