[ad_1]
Hello!
When a user enters an incorrect password on my website login, wordfence echo’s the following error message:
self::send_json(array('error' => wp_kses(sprintf(__('<strong>ERROR</strong>: The username or password you entered is incorrect. <a href="https://projectdmc.org/support/topic/wordfence-user-authentication-error-message/%s" title="Password Lost and Found">Lost your password</a>?', 'wordfence-2fa'), wp_lostpassword_url()), array('strong'=>array(), 'a'=>array('href'=>array(), 'title'=>array())))));
I’m trying to remove the “?” at the end of the returned error message.
Screenshot:
Link:
I don’t want to edit the ajax.php in wordfence as it will affect future plugin updates. Any advise on how i can resolve?
I tried removing it via:
- display:none but since its being injected by the PHP file it didn’t work.
- Via JavaScript; no luck as well.
Thank you!
