Bug in pmpro_generateUsername function
-
Pay attantion to the pmpro_generateUsername function.
This snippet of code: $emailparts = explode(“@”, “email”);
You used string value ’email’ instead of using the variable, which received via parametrs and contains email.
Therefore If username exists result will be incorrect (’email’, ’email1′, etc).
- The topic ‘Bug in pmpro_generateUsername function’ is closed to new replies.