mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 10:05:43 +03:00
Pledge: Log the reason why a pledge was deactivated.
This commit is contained in:
parent
ac25f4c008
commit
d22f13f2c1
3 changed files with 24 additions and 4 deletions
|
@ -271,7 +271,7 @@ function process_form_remove( $pledge_id, $auth_token ) {
|
|||
);
|
||||
}
|
||||
|
||||
$result = Pledge\deactivate( $pledge_id, true );
|
||||
$result = Pledge\deactivate( $pledge_id, true, 'Organization admin deactivated via Manage form.' );
|
||||
|
||||
if ( is_wp_error( $result ) ) {
|
||||
return $result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue