mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-07-05 10:25:45 +03:00
Hide confirmation when pledge is a draft
This commit is contained in:
parent
53a1d9b294
commit
725fdbb94b
3 changed files with 11 additions and 3 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue