Changeset 38457 for trunk/src/wp-includes/ms-functions.php
- Timestamp:
- 08/31/2016 04:55:01 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/ms-functions.php
r38388 r38457 1967 1967 * @since MU 1968 1968 * 1969 * @global int $blog_id1970 *1971 1969 * @param array $details 1972 1970 * @return true|WP_Error|void 1973 1971 */ 1974 1972 function add_existing_user_to_blog( $details = false ) { 1975 global $blog_id;1976 1977 1973 if ( is_array( $details ) ) { 1974 $blog_id = get_current_blog_id(); 1978 1975 $result = add_user_to_blog( $blog_id, $details[ 'user_id' ], $details[ 'role' ] ); 1979 1976 /**
Note: See TracChangeset
for help on using the changeset viewer.