mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Manage Pledge: Enable pledge admins to edit contributors from manage form
This commit is contained in:
parent
77391b5c46
commit
b1b2ba9732
6 changed files with 63 additions and 12 deletions
|
@ -175,8 +175,6 @@ function render_form_manage() {
|
|||
return ob_get_clean();
|
||||
}
|
||||
|
||||
$contributors = Contributor\get_pledge_contributors( $pledge_id, $status = 'all' );
|
||||
|
||||
if ( 'Update Pledge' === $action ) {
|
||||
$results = process_form_manage( $pledge_id, $auth_token );
|
||||
|
||||
|
@ -187,7 +185,8 @@ function render_form_manage() {
|
|||
}
|
||||
}
|
||||
|
||||
$data = PledgeMeta\get_pledge_meta( $pledge_id );
|
||||
$data = PledgeMeta\get_pledge_meta( $pledge_id );
|
||||
$contributors = Contributor\get_pledge_contributors_data( $pledge_id );
|
||||
|
||||
ob_start();
|
||||
$readonly = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue