From 36207fc915a9db52ac56be185106b4971a486cec Mon Sep 17 00:00:00 2001 From: Kelly Dwan Date: Fri, 6 Sep 2024 09:51:37 -0400 Subject: [PATCH] Pledge list: Update pledge description text Fixes #285 --- themes/wporg-5ftf-2024/inc/block-bindings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/wporg-5ftf-2024/inc/block-bindings.php b/themes/wporg-5ftf-2024/inc/block-bindings.php index 3e40984..20f3a74 100644 --- a/themes/wporg-5ftf-2024/inc/block-bindings.php +++ b/themes/wporg-5ftf-2024/inc/block-bindings.php @@ -63,7 +63,7 @@ function get_meta_binding_value( $args, $block ) { case 'org-contribution-short-details': $contribution_data = XProfile\get_aggregate_contributor_data_for_pledge( $block->context['postId'] ); return sprintf( - __( 'Has pledged %s hours per week.', 'wporg-5ftf' ), + __( 'pledges %s hours per week.', 'wporg-5ftf' ), number_format_i18n( absint( $contribution_data['hours'] ) ), ); case 'user-contribution-details':