HEX
Server: nginx/1.24.0
System: Linux VM-8-5-opencloudos 6.6.47-12.oc9.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Sep 24 16:15:42 CST 2024 x86_64
User: www (1000)
PHP: 8.0.26
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,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_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/aiwellbore.com/wp-content/plugins/restrict-content/core/templates/change-password.php
<?php
/**
 * Change Password Form
 *
 * This form is for changing an account password.
 *
 * For modifying this template, please see: https://restrictcontentpro.com/knowledgebase/editing-template-files/
 *
 * @package     Restrict Content Pro
 * @subpackage  Templates/Change Password Form
 * @copyright   Copyright (c) 2017, Restrict Content Pro
 * @license     http://opensource.org/licenses/gpl-2.0.php GNU Public License
 */

global $rcp_password_form_args; ?>

<?php
rcp_show_error_messages( 'password' );

// Bail if the reset link is invalid. This prevents the change password fields from showing.
$errors = rcp_errors();
if ( rcp_errors()->get_error_data( 'invalid_key' ) === 'password' ) {
	return;
}
?>

<?php if( isset( $_GET['password-reset']) && $_GET['password-reset'] == 'true') { ?>
	<div class="rcp_message success">
		<span><?php _e( 'Password changed successfully', 'rcp' ); ?></span>
	</div>
<?php } ?>
<form id="rcp_password_form"  class="rcp_form" method="POST" action="<?php echo esc_url( rcp_get_current_url() ); ?>">
	<fieldset class="rcp_change_password_fieldset">
		<p>
			<label for="rcp_user_pass"><?php echo apply_filters( 'rcp_registration_new_password_label', __( 'New Password', 'rcp' ) ); ?></label>
			<input name="rcp_user_pass" id="rcp_user_pass" class="required" type="password"/>
		</p>
		<p>
			<label for="rcp_user_pass_confirm"><?php echo apply_filters( 'rcp_registration_confirm_password_label', __( 'Password Confirm', 'rcp' ) ); ?></label>
			<input name="rcp_user_pass_confirm" id="rcp_user_pass_confirm" class="required" type="password"/>
		</p>
		<p>
			<input type="hidden" name="rcp_action" value="reset-password"/>
			<input type="hidden" name="rcp_redirect" value="<?php echo esc_url( $rcp_password_form_args['redirect'] ); ?>"/>
			<input type="hidden" name="rcp_password_nonce" value="<?php echo wp_create_nonce('rcp-password-nonce' ); ?>"/>
			<input id="rcp_password_submit" class="rcp-button" type="submit" value="<?php esc_attr_e( apply_filters( 'rcp_registration_change_password_button', __( 'Change Password', 'rcp' ) ) ); ?>"/>
		</p>
	</fieldset>
</form>