PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.7.0.1
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.7.0.1
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
charitable / templates / account / email-not-verified.php

email-not-verified.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.7.0.1, at templates/account/email-not-verified.php

31 lines 901 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template used to display a message on the email verification endpoint
4 * when the email was not verified.
5 *
6 * Override this template by copying it to yourtheme/charitable/account/email-not-verified.php
7 *
8 * @author David Bisset
9 * @package Charitable/Templates/Account
10 * @since 1.5.0
11 * @version 1.6.57
12 */
13
14 // Exit if accessed directly.
15 if ( ! defined( 'ABSPATH' ) ) {
16 exit;
17 }
18
19 $redirect = array_key_exists( 'redirect_url', $_GET ) ? $_GET['redirect_url'] : false;
20 $user = get_user_by( 'login', $_GET['login'] );
21
22 if ( ! empty( $user ) ) {
23 $link = charitable_get_email_verification_link( $user, $redirect, true );
24 }
25
26 ?>
27 <p><?php _e( 'We were unable to verify your email address.', 'charitable' ); ?></p>
28 <?php if ( ! empty( $user ) ) : ?>
29 <p><a href="<?php echo esc_url_raw( $link ); ?>"><?php _e( 'Resend verification email', 'charitable' ); ?></a></p>
30 <?php endif ?>
31