diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 41b0a174c0..206aea6697 100644
a
|
b
|
function wp_login_form( $args = array() ) { |
577 | 577 | $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); |
578 | 578 | |
579 | 579 | $form = ' |
580 | | <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post"> |
| 580 | <form name="' . esc_attr( $args['form_id'] ) . '" id="' . esc_attr( $args['form_id'] ) . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post"> |
581 | 581 | ' . $login_form_top . ' |
582 | 582 | <p class="login-username"> |
583 | 583 | <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label> |