urlencode($new_user_login), 'update' => $update), $redirect ); wp_redirect( $redirect . '#user-' . $user_id ); die(); } } $title = __('Add New User'); $parent_file = 'users.php'; wp_enqueue_script('admin-users'); wp_enqueue_script('admin-forms'); require_once ('admin-header.php'); ?>

get_error_messages() as $message ) echo "

$message

"; ?>
' . sprintf(__('Users can register themselves or you can manually create users here.'), site_url('wp-register.php')) . '

'; else echo '

' . sprintf(__('Users cannot currently register themselves, but you can manually create users here.'), admin_url('options-general.php#users_can_register')) . '

'; ?>