WordPress.org

Make WordPress Core

Changeset 24553


Ignore:
Timestamp:
07/03/13 21:29:53 (10 months ago)
Author:
markjaquith
Message:

Set autocomplete="off" on the password reset form itself, in addition to the individual inputs, to work around a Chrome bug.

fixes #24364. props azaozz.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-login.php

    r24466 r24553  
    501501 
    502502?> 
    503 <form name="resetpassform" id="resetpassform" action="<?php echo esc_url( site_url( 'wp-login.php?action=resetpass&key=' . urlencode( $_GET['key'] ) . '&login=' . urlencode( $_GET['login'] ), 'login_post' ) ); ?>" method="post"> 
     503<form name="resetpassform" id="resetpassform" action="<?php echo esc_url( site_url( 'wp-login.php?action=resetpass&key=' . urlencode( $_GET['key'] ) . '&login=' . urlencode( $_GET['login'] ), 'login_post' ) ); ?>" method="post" autocomplete="off"> 
    504504    <input type="hidden" id="user_login" value="<?php echo esc_attr( $_GET['login'] ); ?>" autocomplete="off" /> 
    505505 
Note: See TracChangeset for help on using the changeset viewer.