Skip to:
Content

bbPress.org

Changeset 5793


Ignore:
Timestamp:
05/24/2015 12:08:56 AM (11 years ago)
Author:
netweb
Message:

Add autocomplete="off" to password field on login widget, user login form, and converter form.

Props pareshradadiya. Fixes #2772

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/admin/settings.php

    r5770 r5793  
    13691369?>
    13701370
    1371     <input name="_bbp_converter_db_pass" id="_bbp_converter_db_pass" type="password" value="<?php bbp_form_option( '_bbp_converter_db_pass' ); ?>" class="medium-text" />
     1371    <input name="_bbp_converter_db_pass" id="_bbp_converter_db_pass" type="password" value="<?php bbp_form_option( '_bbp_converter_db_pass' ); ?>" class="medium-text" autocomplete="off" />
    13721372    <label for="_bbp_converter_db_pass"><?php esc_html_e( 'Password to access the database', 'bbpress' ); ?></label>
    13731373
  • trunk/src/includes/common/widgets.php

    r5770 r5793  
    9696                    <div class="bbp-password">
    9797                        <label for="user_pass"><?php _e( 'Password', 'bbpress' ); ?>: </label>
    98                         <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" />
     98                        <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" autocomplete="off" />
    9999                    </div>
    100100
  • trunk/src/templates/default/bbpress/form-user-login.php

    r5770 r5793  
    2121        <div class="bbp-password">
    2222            <label for="user_pass"><?php esc_html_e( 'Password', 'bbpress' ); ?>: </label>
    23             <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" />
     23            <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" autocomplete="off" />
    2424        </div>
    2525
Note: See TracChangeset for help on using the changeset viewer.