Changeset 342233
- Timestamp:
- 02/08/2011 01:26:48 AM (15 years ago)
- File:
-
- 1 edited
-
active-directory-authentication/trunk/ad-auth.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
active-directory-authentication/trunk/ad-auth.php
r62768 r342233 215 215 216 216 require_once(ABSPATH . WPINC . DIRECTORY_SEPARATOR . 'registration.php'); 217 wp_create_user($username, $password, $email); 217 $error = wp_create_user($username, $password, $email); 218 if ( is_wp_error($errors) ) 219 die($errors->get_error_message()); 218 220 $user_id = username_exists($username); 219 221 if ( !$user_id ) {
Note: See TracChangeset
for help on using the changeset viewer.