Changeset 16178 for trunk/wp-includes/ms-functions.php
- Timestamp:
- 11/04/2010 09:06:45 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/ms-functions.php
r16021 r16178 1394 1394 1395 1395 function add_existing_user_to_blog( $details = false ) { 1396 global $blog_id; 1397 1396 1398 if ( is_array( $details ) ) { 1397 $result = add_user_to_blog( '', $details[ 'user_id' ], $details[ 'role' ] );1399 $result = add_user_to_blog( $blog_id, $details[ 'user_id' ], $details[ 'role' ] ); 1398 1400 do_action( 'added_existing_user', $details[ 'user_id' ], $result ); 1399 1401 }
Note: See TracChangeset
for help on using the changeset viewer.