diff --git a/plugins/wporg-5ftf/includes/pledge-meta.php b/plugins/wporg-5ftf/includes/pledge-meta.php index 143b2a0..350849f 100755 --- a/plugins/wporg-5ftf/includes/pledge-meta.php +++ b/plugins/wporg-5ftf/includes/pledge-meta.php @@ -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 ) { diff --git a/plugins/wporg-5ftf/views/manage-contributors.php b/plugins/wporg-5ftf/views/manage-contributors.php index 96f6e3a..fd697d7 100644 --- a/plugins/wporg-5ftf/views/manage-contributors.php +++ b/plugins/wporg-5ftf/views/manage-contributors.php @@ -4,8 +4,7 @@ namespace WordPressDotOrg\FiveForTheFuture\View; use function WordPressDotOrg\FiveForTheFuture\get_views_path; /** @var array $contributors */ -/** @var array $data */ -/** @var bool $readonly */ +/** @var int $pledge_id */ ?>
-
+