mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 10:33:44 +03:00
Pledge: Update wording of pledge confirmation email
This commit is contained in:
parent
dd4c08d87b
commit
7273057950
|
@ -201,15 +201,11 @@ function send_pledge_confirmation_email( $pledge_id, $action_page_id ) {
|
||||||
$pledge = get_post( $pledge_id );
|
$pledge = get_post( $pledge_id );
|
||||||
|
|
||||||
$message =
|
$message =
|
||||||
'Thanks for pledging your time to contribute to WordPress! Please confirm this email address in order to publish your pledge:' . "\n\n" .
|
"Thanks for pledging your organization's time to contribute to the WordPress open source project! Please confirm this email address in order to publish your pledge:" . "\n\n" .
|
||||||
|
|
||||||
Email\get_authentication_url( $pledge_id, 'confirm_pledge_email', $action_page_id )
|
Email\get_authentication_url( $pledge_id, 'confirm_pledge_email', $action_page_id )
|
||||||
;
|
;
|
||||||
|
|
||||||
// todo include a notice that the link will expire in X hours, so they know what to expect
|
|
||||||
// need to make that value DRY across all emails with links
|
|
||||||
// should probably say that on the front end form success message as well, so they know to go check their email now instead of after lunch.
|
|
||||||
|
|
||||||
return Email\send_email(
|
return Email\send_email(
|
||||||
$pledge->{'5ftf_org-pledge-email'},
|
$pledge->{'5ftf_org-pledge-email'},
|
||||||
'Please confirm your email address',
|
'Please confirm your email address',
|
||||||
|
|
Loading…
Reference in a new issue