Make WordPress Core

Ticket #54298: 54298.diff

File 54298.diff, 822 bytes (added by henry.wright, 3 years ago)
  • src/wp-login.php

    diff --git src/wp-login.php src/wp-login.php
    index 0d03086..5a4790b 100644
    switch ( $action ) { 
    869869                login_header( __( 'Reset Password' ), '<p class="message reset-pass">' . __( 'Enter your new password below or generate one.' ) . '</p>', $errors );
    870870
    871871                ?>
    872                 <form name="resetpassform" id="resetpassform" action="<?php echo esc_url( network_site_url( 'wp-login.php?action=resetpass', 'login_post' ) ); ?>" method="post" autocomplete="off">
     872                <form name="resetpassform" id="resetpassform" action="<?php echo esc_url( site_url( 'wp-login.php?action=resetpass', 'login_post' ) ); ?>" method="post" autocomplete="off">
    873873                        <input type="hidden" id="user_login" value="<?php echo esc_attr( $rp_login ); ?>" autocomplete="off" />
    874874
    875875                        <div class="user-pass1-wrap">