From 822fc283c996f5574f98652d3f7cb83187962a4c Mon Sep 17 00:00:00 2001 From: Corey McKrill <916023+coreymckrill@users.noreply.github.com> Date: Thu, 24 Oct 2019 17:58:42 -0700 Subject: [PATCH] Theme: Add tentative URL for report a pledge link --- themes/wporg-5ftf/template-parts/5ftf_pledge-single.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php b/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php index 8bd38a0..f3d02bc 100644 --- a/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php +++ b/themes/wporg-5ftf/template-parts/5ftf_pledge-single.php @@ -11,6 +11,8 @@ $contributors = Contributor\get_contributor_user_objects( Contributor\get_pledge_contributors( get_the_ID(), 'pending' ) // TODO set to 'publish' when finished testing ); +$report_page = get_page_by_path( 'report' ); + /** @var WP_Post $post */ ?> @@ -95,7 +97,6 @@ $contributors = Contributor\get_contributor_user_objects(