Skip to:
Content
Pages
Categories
Search
Top
Bottom

Differences in the markup in the register and the login forms


  • icu0755
    Participant

    @icu0755

    Hello.

    If you have a look into the templates form-user-register.php and form-user-login.php you could see they are almost the same beside do_action placement.

    <?php do_action( 'register_form' ); ?>
    
    		<div class="bbp-submit-wrapper">
    
    			<button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Register', 'bbpress' ); ?></button>
    
    			<?php bbp_user_register_fields(); ?>
    
    		</div>
    <div class="bbp-submit-wrapper">
    
    			<?php do_action( 'login_form' ); ?>
    
    			<button type="submit" tabindex="<?php bbp_tab_index(); ?>" name="user-submit" class="button submit user-submit"><?php _e( 'Log In', 'bbpress' ); ?></button>
    
    			<?php bbp_user_login_fields(); ?>
    
    		</div>

    Is it possible to move <?php do_action( 'login_form' ); ?> out of the bbp-submit-wrapper in the next releases? This will greatly help to have the same markup for these templates using the wordpress hooks system.

    BR, Vladimir Ivanov

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar