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:


6 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

      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. I beloved as much as you’ll obtain performed proper here. The sketch is attractive, your authored subject matter stylish. nonetheless, you command get got an shakiness over that you want be delivering the following. in poor health unquestionably come more previously again since precisely the similar just about very continuously inside of case you protect this hike.

  4. No longer works 🙁

Leave a Reply

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