diff --git src/wp-includes/general-template.php src/wp-includes/general-template.php
index 1d15d99..88b1a30 100644
|
|
function wp_login_form( $args = array() ) { |
471 | 471 | $login_form_bottom = apply_filters( 'login_form_bottom', '', $args ); |
472 | 472 | |
473 | 473 | $form = ' |
474 | | <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( wp_login_url() ) . '" method="post"> |
| 474 | <form name="' . $args['form_id'] . '" id="' . $args['form_id'] . '" action="' . esc_url( site_url( 'wp-login.php', 'login_post' ) ) . '" method="post"> |
475 | 475 | ' . $login_form_top . ' |
476 | 476 | <p class="login-username"> |
477 | 477 | <label for="' . esc_attr( $args['id_username'] ) . '">' . esc_html( $args['label_username'] ) . '</label> |
diff --git src/wp-login.php src/wp-login.php
index 06603ee..70fc6e0 100644
|
|
case 'register' : |
712 | 712 | login_header(__('Registration Form'), '<p class="message register">' . __('Register For This Site') . '</p>', $errors); |
713 | 713 | ?> |
714 | 714 | |
715 | | <form name="registerform" id="registerform" action="<?php echo esc_url( wp_registration_url() ); ?>" method="post" novalidate="novalidate"> |
| 715 | <form name="registerform" id="registerform" action="<?php echo esc_url( site_url( 'wp-login.php?action=register', 'login_post' ) ); ?>" method="post" novalidate="novalidate"> |
716 | 716 | <p> |
717 | 717 | <label for="user_login"><?php _e('Username') ?><br /> |
718 | 718 | <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr(wp_unslash($user_login)); ?>" size="20" /></label> |
… |
… |
default: |
878 | 878 | } |
879 | 879 | ?> |
880 | 880 | |
881 | | <form name="loginform" id="loginform" action="<?php echo esc_url( wp_login_url() ); ?>" method="post"> |
| 881 | <form name="loginform" id="loginform" action="<?php echo esc_url( site_url( 'wp-login.php', 'login_post' ) ); ?>" method="post"> |
882 | 882 | <p> |
883 | 883 | <label for="user_login"><?php _e('Username') ?><br /> |
884 | 884 | <input type="text" name="log" id="user_login"<?php echo $aria_describedby_error; ?> class="input" value="<?php echo esc_attr( $user_login ); ?>" size="20" /></label> |