PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
← All changes | templates/shortcodes/login.php +5 -4 1.7.0 → 1.8.13 View file →
@@ -8,8 +8,9 @@
8 8 * @author David Bisset
9 9 * @package Charitable/Templates/Account
10 10 * @since 1.0.0
11 11 * @version 1.5.7
12 + * @version 1.8.8.6
12 13 */
13 14
14 15 // Exit if accessed directly.
15 16 if ( ! defined( 'ABSPATH' ) ) {
@@ -15,9 +16,9 @@
15 16 if ( ! defined( 'ABSPATH' ) ) {
16 17 exit;
17 18 }
18 19
19 -$login_form_args = array_key_exists( 'login_form_args', $view_args ) ? $view_args['login_form_args'] : array();
20 +$charitable_login_form_args = array_key_exists( 'login_form_args', $view_args ) ? $view_args['login_form_args'] : array();
20 21
21 22 ?>
22 23 <div class="charitable-login-form">
23 24 <?php
@@ -28,16 +29,16 @@
28 29 * @param array $view_args All args passed to template.
29 30 */
30 31 do_action( 'charitable_login_form_before', $view_args );
31 32
32 - wp_login_form( $login_form_args );
33 + wp_login_form( $charitable_login_form_args );
33 34
34 35 ?>
35 36 <p>
36 37 <?php if ( array_key_exists( 'registration_link', $view_args ) && $view_args['registration_link'] ) : ?>
37 - <a href="<?php echo esc_url( $view_args['registration_link'] ); ?>"><?php echo $view_args['registration_link_text']; ?></a>&nbsp;|&nbsp;
38 + <a href="<?php echo esc_url( $view_args['registration_link'] ); ?>"><?php echo esc_html( $view_args['registration_link_text'] ); ?></a>&nbsp;|&nbsp;
38 39 <?php endif ?>
39 - <a href="<?php echo esc_url( charitable_get_permalink( 'forgot_password_page' ) ); ?>"><?php _e( 'Forgot Password', 'charitable' ); ?></a>
40 + <a href="<?php echo esc_url( charitable_get_permalink( 'forgot_password_page' ) ); ?>"><?php esc_html_e( 'Forgot Password', 'charitable' ); ?></a>
40 41 </p>
41 42 <?php
42 43
43 44 /**