Make WordPress Core


Ignore:
Timestamp:
05/18/2013 10:56:21 PM (11 years ago)
Author:
azaozz
Message:

Fix Chrome disregarding autocomplete="off" for password fields. Add autocomplete="off" to forms where the users can choose new password. Fixes #24364.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-new.php

    r23950 r24291  
    300300?>
    301301<p><?php _e('Create a brand new user and add it to this site.'); ?></p>
    302 <form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>>
     302<form action="" autocomplete="off" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>>
    303303<input name="action" type="hidden" value="createuser" />
    304304<?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ) ?>
Note: See TracChangeset for help on using the changeset viewer.