mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-08 03:35:44 +03:00
Split Auth functionality out to new file
This commit is contained in:
parent
03949905c0
commit
e0e8fae44b
6 changed files with 165 additions and 154 deletions
|
@ -7,7 +7,7 @@
|
|||
namespace WordPressDotOrg\FiveForTheFuture\Pledge;
|
||||
|
||||
use WordPressDotOrg\FiveForTheFuture;
|
||||
use WordPressDotOrg\FiveForTheFuture\{ Contributor, Email };
|
||||
use WordPressDotOrg\FiveForTheFuture\{ Auth, Contributor, Email };
|
||||
use WP_Error, WP_Query;
|
||||
|
||||
use const WordPressDotOrg\FiveForTheFuture\PledgeMeta\META_PREFIX;
|
||||
|
@ -209,7 +209,7 @@ function send_pledge_confirmation_email( $pledge_id, $action_page_id ) {
|
|||
|
||||
$message = sprintf(
|
||||
"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%s",
|
||||
Email\get_authentication_url( $pledge_id, 'confirm_pledge_email', $action_page_id )
|
||||
Auth\get_authentication_url( $pledge_id, 'confirm_pledge_email', $action_page_id )
|
||||
);
|
||||
|
||||
return Email\send_email(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue