login_header( __( 'Lost Password'
), '<p class="message">' .
__( 'Please enter your username or email address. You will receive an email message with instructions on how to reset your password.'
) . '</p>',
$errors );
$user_login = '';
if ( isset( $_POST['user_login'
] ) &&
is_string( $_POST['user_login'
] ) ) { $user_login =
wp_unslash( $_POST['user_login'
] );
} ?>
<form name="lostpasswordform" id="lostpasswordform" action="<?php
echo esc_url( network_site_url( 'wp-login.php?action=lostpassword', 'login_post'
) ); ?>" method="post">
<p>
<label for="user_login"><?php
_e( 'Username or Email Address'
); ?></label>
<input type="text" name="user_login" id="user_login" class="input" value="<?php
echo esc_attr( $user_login ); ?>" size="20" autocapitalize="off" autocomplete="username" required="required" />
</p>
<?php
/**
* Fires inside the lostpassword form tags, before the hidden fields.
*
* @since 2.1.0
*/