Theme: Add tentative URL for report a pledge link

This commit is contained in:
Corey McKrill 2019-10-24 17:58:42 -07:00
parent 3cce3b13b0
commit 822fc283c9
No known key found for this signature in database
GPG key ID: C2C0746F7BF17E38

View file

@ -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 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 */ /** @var WP_Post $post */
?> ?>
@ -95,7 +97,6 @@ $contributors = Contributor\get_contributor_user_objects(
</div> </div>
<footer class="entry-footer"> <footer class="entry-footer">
<!-- TODO Determine URL for reporting a pledge --> <a href="<?php the_permalink( $report_page ); ?>"><?php esc_html_e( 'Report a problem', 'wporg' ); ?></a>
<a href="#"><?php esc_html_e( 'Report a problem', 'wporg' ); ?></a>
</footer> </footer>
</article> </article>