Skip to:
Content

BuddyPress.org

Ticket #7860: 7860.01.patch

File 7860.01.patch, 825 bytes (added by r-a-y, 4 years ago)
  • src/bp-core/classes/class-bp-core-login-widget.php

     
    104104                         */
    105105                        do_action( 'bp_before_login_widget_loggedout' ); ?>
    106106
    107                         <form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( wp_login_url() ); ?>" method="post">
     107                        <form name="bp-login-form" id="bp-login-widget-form" class="standard-form" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post">
    108108                                <label for="bp-login-widget-user-login"><?php _e( 'Username', 'buddypress' ); ?></label>
    109109                                <input type="text" name="log" id="bp-login-widget-user-login" class="input" value="" />
    110110