Pledge: Update copy for contributor 'my pledges' notices

This commit is contained in:
Corey McKrill 2019-10-29 15:34:41 -07:00
parent f72ca12716
commit 06dfde25a4
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38

View file

@ -295,13 +295,13 @@ function process_my_pledges_form() {
wp_verify_nonce( $nonce, 'join_decline_organization' ) || wp_nonce_ays( 'join_decline_organization' );
$status = 'trash';
$message = "Your have declined the invitation from {$pledge->post_title}.";
$message = "You have declined the pledge invitation from {$pledge->post_title}.";
} elseif ( filter_input( INPUT_POST, 'leave_organization' ) ) {
wp_verify_nonce( $nonce, 'leave_organization' ) || wp_nonce_ays( 'leave_organization' );
$status = 'trash';
$message = "Your have left the {$pledge->post_title} pledge.";
$message = "You have left the {$pledge->post_title} pledge.";
}
if ( 'publish' === $status ) {