i am using the complete un modified code from s2Member (Pro) >> API / Scripting >> Pro API For Remote Operations >> Remote Operation: create_user
i modified 1 line and sent user_email empty. the api creates a new user with no email,
other checks seem to work, Sorry, that username already exists!, Sorry, that email already exists!
i have also tried changing the modify_if_login_exists from 1 to 0.
$op['data'] = array(
'user_login' => 'johndoe22', // Required. A unique Username. Lowercase alphanumerics/underscores.
'user_email' => '', // Required. A valid/unique Email Address for the new User.
'modify_if_login_exists' => '0', // i have also tried '1'
also should the api test for a properly formatted email?
'user_email' => 'johndoe22examplecom'
will also create a new user but the email is blank in users.
i am assuming s2member should validate but something is blocking the script from validating, this is a clean install of WordPress 4.7.3, the only plugin is S2member Framework Version 170221 + s2Member Pro v170221 nothing in the .htaccess other than default WordPress settings.
anyone else experience this or have any input on where to look?
Sean