Update display to use new design

This commit is contained in:
Kelly Dwan 2019-11-13 16:26:48 -05:00
parent 5a72ff8b53
commit 5d4d1b7f4c
No known key found for this signature in database
GPG key ID: 8BA5575F3D11575D
3 changed files with 74 additions and 38 deletions

View file

@ -262,6 +262,8 @@ function get_pledge_contributors_data( $pledge_id ) {
'avatar' => get_avatar( $contributor, 32 ),
// @todo Add full name, from `$contributor`?
'name' => $name,
'displayName' => $contributor->display_name,
'publishDate' => get_the_date( '', $contributor_post ),
'resendLabel' => __( 'Resend Confirmation', 'wporg' ),
'removeConfirm' => sprintf( __( 'Remove %s from this pledge?', 'wporg-5ftf' ), $name ),
'removeLabel' => sprintf( __( 'Remove %s', 'wporg' ), $name ),