mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-04 18:05:45 +03:00
Re-enable pledge creation during new pledge form processing
This commit is contained in:
parent
c520d26527
commit
c35efea8b7
1 changed files with 0 additions and 4 deletions
|
@ -87,7 +87,6 @@ function process_form_new() {
|
||||||
return $contributors;
|
return $contributors;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
$name = sanitize_meta(
|
$name = sanitize_meta(
|
||||||
PledgeMeta\META_PREFIX . 'org-name',
|
PledgeMeta\META_PREFIX . 'org-name',
|
||||||
$submission['org-name'],
|
$submission['org-name'],
|
||||||
|
@ -101,9 +100,6 @@ function process_form_new() {
|
||||||
return $created;
|
return $created;
|
||||||
}
|
}
|
||||||
|
|
||||||
PledgeMeta\save_pledge_meta( $created, $submission );
|
|
||||||
*/
|
|
||||||
|
|
||||||
return 'success';
|
return 'success';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue