First: Which lines I should comment in wp-login.php that user can retrieve password only by login (without email)?

Second: I want try do possible register users with same email. It is possible with that solution?

  • So you will email someone their password once they type in the username, even if they don't know/remember the email address they used to register? – barrycarter Oct 27 '14 at 19:42
  • You shouldn't comment out any lines in wp-login.php, because you should never edit any core files. When you upgrade WordPress all your changes will be overwritten. – Simon Blackbourn Oct 28 '14 at 0:19
  • So what I should do for disable function do retrieve password only with login, without email? – Maxim Tsybanov Oct 28 '14 at 14:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.