Skip to:
Content

bbPress.org


Ignore:
Timestamp:
11/10/2014 11:21:48 PM (10 years ago)
Author:
johnjamesjacoby
Message:

Deprecate tabindex functions and their usages. Props joedolson. Fixes #2714.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/includes/common/widgets.php

    r5498 r5561  
    9191                    <div class="bbp-username">
    9292                        <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    93                         <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     93                        <input type="text" name="log" value="<?php bbp_sanitize_val( 'user_login', 'text' ); ?>" size="20" id="user_login" />
    9494                    </div>
    9595
    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" tabindex="<?php bbp_tab_index(); ?>" />
     98                        <input type="password" name="pwd" value="<?php bbp_sanitize_val( 'user_pass', 'password' ); ?>" size="20" id="user_pass" />
    9999                    </div>
    100100
    101101                    <div class="bbp-remember-me">
    102                         <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ), true, true ); ?> id="rememberme" tabindex="<?php bbp_tab_index(); ?>" />
     102                        <input type="checkbox" name="rememberme" value="forever" <?php checked( bbp_get_sanitize_val( 'rememberme', 'checkbox' ), true, true ); ?> id="rememberme" />
    103103                        <label for="rememberme"><?php _e( 'Remember Me', 'bbpress' ); ?></label>
    104104                    </div>
     
    108108                        <?php do_action( 'login_form' ); ?>
    109109
    110                         <button type="submit" name="user-submit" id="user-submit" tabindex="<?php bbp_tab_index(); ?>" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
     110                        <button type="submit" name="user-submit" id="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
    111111
    112112                        <?php bbp_user_login_fields(); ?>
Note: See TracChangeset for help on using the changeset viewer.