WordPress.org

Make WordPress Core

Ticket #19199: 19199.patch

File 19199.patch, 657 bytes (added by ramiy, 3 years ago)
  • wp-login.php

     
    405405 
    406406?> 
    407407 
    408 <form name="lostpasswordform" id="lostpasswordform" action="<?php echo site_url('wp-login.php?action=lostpassword', 'login_post') ?>" method="post"> 
     408<form name="lostpasswordform" id="lostpasswordform" action="<?php echo wp_lostpassword_url() ?>" method="post"> 
    409409        <p> 
    410410                <label><?php _e('Username or E-mail:') ?><br /> 
    411411                <input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr($user_login); ?>" size="20" tabindex="10" /></label>