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/change.php +7 -5 1.0.171.2.74 View file →
@@ -1,16 +1,18 @@
1 1 <?php do_action('uwp_template_before', 'change'); ?>
2 2 <div class="uwp-content-wrap">
3 3 <div class="uwp-login">
4 - <div class="uwp-lf-icon"><i class="fa fa-refresh fa-fw"></i></div>
4 + <div class="uwp-lf-icon"><i class="fas fa-sync fa-fw"></i></div>
5 5 <?php do_action('uwp_template_form_title_before', 'change'); ?>
6 - <h2><?php echo apply_filters('uwp_template_form_title', get_the_title(), 'change'); ?></h2>
6 + <h2><?php
7 + $form_title = !empty($args['form_title']) ? esc_attr__($args['form_title'], 'userswp') : __('Change', 'userswp');
8 + echo apply_filters('uwp_template_form_title', $form_title, 'change'); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
9 + ?></h2>
7 10 <?php do_action('uwp_template_display_notices', 'change'); ?>
8 11 <form class="uwp-change-form uwp_form" method="post">
9 12 <?php do_action('uwp_template_fields', 'change'); ?>
10 - <input type="hidden" name="uwp_change_nonce" value="<?php echo wp_create_nonce( 'uwp-change-nonce' ); ?>" />
11 - <input name="uwp_change_submit" value="<?php echo __( 'Submit', 'userswp' ); ?>" type="submit"><br>
13 + <input name="uwp_change_submit" value="<?php echo esc_attr__( 'Submit', 'userswp' ); ?>" type="submit"><br>
12 14 </form>
13 - <div class="uwp-changepsw"><a href="<?php echo uwp_get_page_link('account'); ?>"><?php echo __( 'Account', 'userswp' ); ?></a> <a style="float: right" href="<?php echo uwp_get_page_link('profile'); ?>"><?php echo __( 'Profile', 'userswp' ); ?></a></div>
15 + <div class="uwp-footer-link uwp-changepsw"><a rel="nofollow" href="<?php echo esc_url( uwp_get_page_link('account') ); ?>"><?php echo uwp_get_option("account_link_title") ? esc_html( uwp_get_option("account_link_title") ) : esc_html__( 'Account', 'userswp' ); ?></a> <a style="float: right" href="<?php echo esc_url( uwp_get_page_link('profile') ); ?>"><?php echo uwp_get_option("profile_link_title") ? esc_html( uwp_get_option("profile_link_title") ) : esc_html__( 'Profile', 'userswp' ); ?></a></div>
14 16 </div>
15 17 </div>
16 18 <?php do_action('uwp_template_after', 'change'); ?>