diff --git a/plugins/wporg-5ftf/includes/pledge-meta.php b/plugins/wporg-5ftf/includes/pledge-meta.php index 5713fb0..49f0bfd 100755 --- a/plugins/wporg-5ftf/includes/pledge-meta.php +++ b/plugins/wporg-5ftf/includes/pledge-meta.php @@ -196,6 +196,8 @@ function has_required_pledge_meta( array $submission ) { /** * Save the pledge data. * + * This only fires when the pledge post itself is created or updated. + * * @param int $pledge_id * @param WP_Post $pledge */ diff --git a/plugins/wporg-5ftf/includes/shortcodes.php b/plugins/wporg-5ftf/includes/shortcodes.php index ada8a10..5a4b36e 100755 --- a/plugins/wporg-5ftf/includes/shortcodes.php +++ b/plugins/wporg-5ftf/includes/shortcodes.php @@ -5,6 +5,8 @@ * or two, we may want to create a subfolder and have a separate file for each block. */ +// TODO are we actually using any of this? + namespace WordPressDotOrg\FiveForTheFuture\Blocks; use WordPressDotOrg\FiveForTheFuture; use WordPressDotOrg\FiveForTheFuture\Pledge; diff --git a/plugins/wporg-5ftf/views/form-pledge-manage.php b/plugins/wporg-5ftf/views/form-pledge-manage.php index bce888f..b014cc6 100644 --- a/plugins/wporg-5ftf/views/form-pledge-manage.php +++ b/plugins/wporg-5ftf/views/form-pledge-manage.php @@ -7,7 +7,7 @@ use function WordPressDotOrg\FiveForTheFuture\get_views_path; /** @var bool $updated */ ?> -
+ + +// TODO are we using this, or is all the front end stuff happening in the 5ftF theme now? +?>
@@ -96,4 +98,4 @@
-
\ No newline at end of file +