HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux WebLive 5.15.0-79-generic #86-Ubuntu SMP Mon Jul 10 16:07:21 UTC 2023 x86_64
User: ubuntu (1000)
PHP: 7.4.33
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/html/wpicare/wp-content/plugins/wp-events-manager/templates/shortcodes/forgot-password.php
<?php
/**
 * The Template for displaying shortcode forgot password.
 *
 * Override this template by copying it to yourtheme/wp-events-manager/shortcodes/forgot-password.php
 *
 * @author        ThimPress, leehld
 * @package       WP-Events-Manager/Template
 * @version       2.1.7
 */

/**
 * Prevent loading this file directly
 */
defined( 'ABSPATH' ) || exit();
wpems_print_notices();
?>

<?php if ( empty( $_REQUEST['checkemail'] ) ) : ?>

	<form name="forgot-password" class="forgot-password event-auth-form" action="" method="post">

		<p class="form-row event_auth_forgot_password_message message">
			<?php _e( 'Please enter your username or email address. You will receive a link to create a new password via email.', 'wp-events-manager' ); ?>
		</p>
		<p class="form-row required">
			<label for="user_login" ><?php _e( 'Username or Email:', 'wp-events-manager' ); ?>
				<input type="text" name="user_login" id="user_login" class="input" value="<?php echo esc_attr( ! empty( $_POST['user_login'] ) ? sanitize_text_field( $_POST['user_login'] ) : '' ); ?>" size="20" /></label>
		</p>
	<?php
	/**
	 * Fires inside the lostpassword form tags, before the hidden fields.
	 *
	 * @since 2.1.0
	 */
	do_action( 'tp_event_forgot_password_form' );
	?>
		<input type="hidden" name="redirect_to" value="<?php echo esc_attr( ( is_ssl() ? 'https://' : 'http://' ) . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ); ?>" />
		<p class="form-row submit">
			<input type="submit" name="wp-submit" id="wp-submit" class="button button-primary button-large" value="<?php esc_attr_e( 'Get New Password', 'wp-events-manager' ); ?>" />
		</p>

	</form>

	<div class="event_auth_lost_pass_footer">
		<a href="<?php echo esc_attr( wpems_login_url() ); ?>">
			<?php _e( 'Login', 'wp-events-manager' ); ?>
		</a> | 
		<?php if ( ! is_user_logged_in() ) : ?>

			<a href="<?php echo esc_attr( wpems_register_url() ); ?>">
				<?php _e( 'Create new user', 'wp-events-manager' ); ?>
			</a>

		<?php endif; ?>
	</div>

	<?php do_action( 'tp_event_forgot_password_form_footer' ); ?>

<?php endif; ?>