From f120a109ffe836a852e5a4565550a7927a4a91ef Mon Sep 17 00:00:00 2001 From: Mark Jaquith Date: Wed, 3 Jul 2013 21:24:02 +0000 Subject: [PATCH] =?UTF-8?q?Combat=20Chrome's=20insanely=20aggressive=20use?= =?UTF-8?q?r/pass=20autofilling=20=E0=B2=A0=5F=E0=B2=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Chrome now ignores `autocomplete="off"` in , so this hack uses a hidden, non-named, non-empty input, right before the password field. see #24364. props azaozz, nacin, bobbingwide, aaroncampbell. git-svn-id: https://develop.svn.wordpress.org/trunk@24552 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/user-edit.php | 1 + wp-admin/user-new.php | 1 + 2 files changed, 2 insertions(+) diff --git a/wp-admin/user-edit.php b/wp-admin/user-edit.php index 6280bc5158..bb9119f221 100644 --- a/wp-admin/user-edit.php +++ b/wp-admin/user-edit.php @@ -377,6 +377,7 @@ if ( $show_password_fields ) : + diff --git a/wp-admin/user-new.php b/wp-admin/user-new.php index 14154973b6..33b8196415 100644 --- a/wp-admin/user-new.php +++ b/wp-admin/user-new.php @@ -342,6 +342,7 @@ foreach ( array( 'user_login' => 'login', 'first_name' => 'firstname', 'last_nam +