Make WordPress Core

Ticket #18137: 18137.diff

File 18137.diff, 815 bytes (added by mdawaffe, 13 years ago)
  • wp-includes/general-template.php

     
    270270        $args = wp_parse_args( $args, apply_filters( 'login_form_defaults', $defaults ) );
    271271
    272272        $form = '
    273                 <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . site_url( 'wp-login.php', 'login' ) . '" method="post">
     273                <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . site_url( 'wp-login.php', 'login_post' ) . '" method="post">
    274274                        ' . apply_filters( 'login_form_top', '', $args ) . '
    275275                        <p class="login-username">
    276276                                <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label>