PluginProbe
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP / 1.2.74
UsersWP – Front-end login form, User Registration, User Profile & Members Directory plugin for WP v1.2.74
1.2.74 1.2.73 1.2.72 1.2.71 1.2.70 1.2.69 1.2.68 1.2.67 1.2.66 1.2.65 1.2.64 1.2.63 trunk 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.16 1.0.17 1.0.18 1.0.19 1.0.20 1.0.21 All 174 releases
← All changes | templates/forgot.php +8 -6 1.0.101.2.74 View file →
@@ -1,18 +1,20 @@
1 1 <?php do_action('uwp_template_before', 'forgot'); ?>
2 2 <div class="uwp-content-wrap">
3 3 <div class="uwp-login">
4 - <div class="uwp-lf-icon"><i class="fa fa-user fa-fw"></i></div>
4 + <div class="uwp-lf-icon"><i class="fas fa-user fa-fw"></i></div>
5 5 <?php do_action('uwp_template_form_title_before', 'forgot'); ?>
6 - <h2><?php echo apply_filters('uwp_template_form_title', get_the_title(), 'forgot'); ?></h2>
6 + <h2>
7 + <?php $form_title = ! empty( $args['form_title'] ) ? esc_attr__( $args['form_title'], 'userswp' ) : __( 'Forgot Password?', 'userswp' );
8 + echo apply_filters('uwp_template_form_title', $form_title, 'forgot'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
9 + </h2>
7 10 <?php do_action('uwp_template_display_notices', 'forgot'); ?>
8 11 <form class="uwp-login-form uwp_form" method="post">
9 12 <?php do_action('uwp_template_fields', 'forgot'); ?>
10 - <input type="hidden" name="uwp_forgot_nonce" value="<?php echo wp_create_nonce( 'uwp-forgot-nonce' ); ?>" />
11 - <input name="uwp_forgot_submit" value="<?php echo __( 'Submit', 'userswp' ); ?>" type="submit"><br>
13 + <input name="uwp_forgot_submit" value="<?php esc_html_e( 'Submit', 'userswp' ); ?>" type="submit"><br>
12 14 </form>
13 - <div class="uwp-forgotpsw"><a href="<?php echo uwp_get_page_link('login'); ?>"><?php echo __( 'Login?', 'userswp' ); ?></a></div>
15 + <div class="uwp-footer-link uwp-forgotpsw"><?php esc_html_e( 'Already a member?', 'userswp' ); ?> <a rel="nofollow" href="<?php echo esc_url( uwp_get_login_page_url() ); ?>"><?php echo uwp_get_option("login_link_title") ? esc_html( uwp_get_option("login_link_title") ) : esc_html__( 'Login here', 'userswp' ); ?></a></div>
14 16 <div class="clfx"></div>
15 - <div class="uwp-register-now"><?php echo __( 'Not a Member?', 'userswp' ); ?> <a rel="nofollow" href="<?php echo uwp_get_page_link('register'); ?>"><?php echo __( 'Create Account', 'userswp' ); ?></a></div>
17 + <div class="uwp-footer-link uwp-register-now"><?php esc_html_e( 'Not a member?', 'userswp' ); ?> <a rel="nofollow" href="<?php echo esc_url( uwp_get_register_page_url() ); ?>"><?php echo uwp_get_option("register_link_title") ? esc_html( uwp_get_option("register_link_title") ) : esc_html__( 'Create account', 'userswp' ); ?></a></div>
16 18 </div>
17 19 </div>
18 20 <?php do_action('uwp_template_after', 'forgot'); ?>