Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Possible Duplicate:
Change login error messages

I'm creating a custom log in page on a wordpress install and would like to remove the "Lost your password?" link from the "ERROR: Invalid username. Lost your password?" message that comes up if the user inserts the wrong password.

I've been looking in the wp-login.php but must be missing something, can someone point me to the right file?

share|improve this question
add comment

marked as duplicate by Stephen Harris, m0r7if3r, toscho Mar 1 '12 at 1:27

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1 Answer

up vote 0 down vote accepted

I've found the generated text in the wp-includes\user.php file so removed it there and done what I was looking for.

share|improve this answer
1  
It's not advisable to change core files (this will be lost with an update, and potentially mean plug-ins do not function properly). See the related question on how to do this without modifying the core files. –  Stephen Harris Feb 29 '12 at 11:28
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.