mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-03 01:31:17 +03:00
Pledge: Update copy for contributor 'my pledges' notices
This commit is contained in:
parent
f72ca12716
commit
06dfde25a4
|
@ -295,13 +295,13 @@ function process_my_pledges_form() {
|
||||||
wp_verify_nonce( $nonce, 'join_decline_organization' ) || wp_nonce_ays( 'join_decline_organization' );
|
wp_verify_nonce( $nonce, 'join_decline_organization' ) || wp_nonce_ays( 'join_decline_organization' );
|
||||||
|
|
||||||
$status = 'trash';
|
$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' ) ) {
|
} elseif ( filter_input( INPUT_POST, 'leave_organization' ) ) {
|
||||||
wp_verify_nonce( $nonce, 'leave_organization' ) || wp_nonce_ays( 'leave_organization' );
|
wp_verify_nonce( $nonce, 'leave_organization' ) || wp_nonce_ays( 'leave_organization' );
|
||||||
|
|
||||||
$status = 'trash';
|
$status = 'trash';
|
||||||
$message = "Your have left the {$pledge->post_title} pledge.";
|
$message = "You have left the {$pledge->post_title} pledge.";
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( 'publish' === $status ) {
|
if ( 'publish' === $status ) {
|
||||||
|
|
Loading…
Reference in a new issue