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/templates/default/bbpress/form-user-register.php

    r5303 r5561  
    2323        <div class="bbp-username">
    2424            <label for="user_login"><?php _e( 'Username', 'bbpress' ); ?>: </label>
    25             <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" tabindex="<?php bbp_tab_index(); ?>" />
     25            <input type="text" name="user_login" value="<?php bbp_sanitize_val( 'user_login' ); ?>" size="20" id="user_login" />
    2626        </div>
    2727
    2828        <div class="bbp-email">
    2929            <label for="user_email"><?php _e( 'Email', 'bbpress' ); ?>: </label>
    30             <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" tabindex="<?php bbp_tab_index(); ?>" />
     30            <input type="text" name="user_email" value="<?php bbp_sanitize_val( 'user_email' ); ?>" size="20" id="user_email" />
    3131        </div>
    3232
     
    3535        <div class="bbp-submit-wrapper">
    3636
    37             <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
     37            <button type="submit" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
    3838
    3939            <?php bbp_user_register_fields(); ?>
Note: See TracChangeset for help on using the changeset viewer.