📁 File Manager Pro
v10.0.3 | PHP: 7.4.33
Server: LiteSpeed
2026-06-26 13:51:29
📂
/ (Root)
/
home
/
supecsoq
/
public_html
/
domains
/
migalexpark.com
/
wp-content
/
plugins
/
wp-user-manager
/
templates
/
forms
📍 /home/supecsoq/public_html/domains/migalexpark.com/wp-content/plugins/wp-user-manager/templates/forms
🔄 Refresh
✏️
Editing: form-password.php
Writable
<?php /** * The Template for displaying the password change form. * * This template can be overridden by copying it to yourtheme/wpum/forms/form-password.php * * HOWEVER, on occasion WPUM will need to update template files and you * (the theme developer) will need to copy the new files to your theme to * maintain compatibility. We try to do this as little as possible, but it does * happen. When this occurs the version of the template file will be bumped and * the readme will list any important changes. * * @version 1.0.0 */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; ?> <div class="wpum-template wpum-form wpum-password-form"> <h2><?php echo esc_html( $data->step_name ); ?></h2> <?php if( isset( $_GET['password-updated'] ) && $_GET['password-updated'] == 'success' ) : ?> <?php WPUM()->templates ->set_template_data( [ 'message' => esc_html__( 'Password successfully updated.', 'wp-user-manager' ) ] ) ->get_template_part( 'messages/general', 'success' ); ?> <?php endif; ?> <?php do_action( 'wpum_before_password_form' ); ?> <form action="<?php echo esc_url( $data->action ); ?>" method="post" id="wpum-submit-password-form" enctype="multipart/form-data"> <?php foreach ( $data->fields as $key => $field ) : ?> <fieldset class="fieldset-<?php echo esc_attr( $key ); ?>"> <?php if( $field['type'] == 'checkbox' ) : ?> <label for="<?php echo esc_attr( $key ); ?>"> <span class="field <?php echo $field['required'] ? 'required-field' : ''; ?>"> <?php // Add the key to field. $field[ 'key' ] = $key; WPUM()->templates ->set_template_data( $field ) ->get_template_part( 'form-fields/' . $field['type'], 'field' ); ?> </span> <?php echo esc_html( $field['label'] ); ?> <?php if( isset( $field['required'] ) && $field['required'] ) : ?> <span class="wpum-required">*</span> <?php endif; ?> </label> <?php else : ?> <label for="<?php echo esc_attr( $key ); ?>"> <?php echo esc_html( $field['label'] ); ?> <?php if( isset( $field['required'] ) && $field['required'] ) : ?> <span class="wpum-required">*</span> <?php endif; ?> </label> <div class="field <?php echo $field['required'] ? 'required-field' : ''; ?>"> <?php // Add the key to field. $field[ 'key' ] = $key; WPUM()->templates ->set_template_data( $field ) ->get_template_part( 'form-fields/' . $field['type'], 'field' ); ?> </div> <?php endif; ?> </fieldset> <?php endforeach; ?> <input type="hidden" name="wpum_form" value="<?php echo $data->form; ?>" /> <input type="hidden" name="step" value="<?php echo esc_attr( $data->step ); ?>" /> <?php wp_nonce_field( 'verify_password_change_form', 'password_change_nonce' ); ?> <input type="submit" name="submit_password" class="button" value="<?php esc_html_e( 'Change password', 'wp-user-manager' ); ?>" /> </form> <?php do_action( 'wpum_after_password_form' ); ?> </div>
💾 Save Changes
❌ Cancel