Skip to:
Content

bbPress.org

Changeset 5241


Ignore:
Timestamp:
01/03/2014 01:33:42 AM (8 years ago)
Author:
netweb
Message:

Relocate login_form action hook outside bbp-submit-wrapper form submit wrapper in form-user-login.php and form-user-lost-pass.php templates. Props icu0755. Fixes #2500 (trunk)

Location:
trunk/templates/default/bbpress
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/default/bbpress/form-user-login.php

    r4733 r5241  
    2929        </div>
    3030
     31        <?php do_action( 'login_form' ); ?>
     32
    3133        <div class="bbp-submit-wrapper">
    32 
    33             <?php do_action( 'login_form' ); ?>
    3434
    3535            <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
  • trunk/templates/default/bbpress/form-user-lost-pass.php

    r4733 r5241  
    2121        </div>
    2222
     23        <?php do_action( 'login_form', 'resetpass' ); ?>
     24
    2325        <div class="bbp-submit-wrapper">
    24 
    25             <?php do_action( 'login_form', 'resetpass' ); ?>
    2626
    2727            <button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Reset My Password', 'bbpress' ); ?></button>
Note: See TracChangeset for help on using the changeset viewer.