Hide confirmation when pledge is a draft

This commit is contained in:
Kelly Dwan 2019-11-22 16:10:52 -05:00
parent 53a1d9b294
commit 725fdbb94b
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
3 changed files with 11 additions and 3 deletions

View file

@ -209,6 +209,7 @@ function add_meta_boxes() {
function render_meta_boxes( $pledge, $box ) {
$readonly = ! current_user_can( 'edit_page', $pledge->ID );
$is_manage = true;
$pledge_id = $pledge->ID;
$data = array();
foreach ( get_pledge_meta_config() as $key => $config ) {