Disabling WordPress Login Password Autocomplete

WordPress’s login form does not disable autocomplete for the password field. Today, I needed to do just that.

I found a script online that adds autocomplete=”off” via javascript, but wanted to do it with straight HTML instead. I wrote a small plugin to do it:

,

4 responses to “Disabling WordPress Login Password Autocomplete”

  1. what file do I add the script to and where in the file the head or the end. I am a complete newbie to wordpress.


    1. Benjamin Avatar
      Benjamin

      Hi Wayne,

      This was designed to be created as a WordPress plugin. Here’s a link to download a zip file for that plugin, which you can then install in your WordPress Dashboard. Hope that helps.


  2. Fadhly Biz Avatar
    Fadhly Biz

    Very helpful. Thanks


  3. No longer works 🙁


Leave a Reply

Your email address will not be published. Required fields are marked *