mirror of
https://github.com/WordPress/five-for-the-future.git
synced 2025-04-21 02:23:43 +03:00
parent
42cd761420
commit
36207fc915
|
@ -63,7 +63,7 @@ function get_meta_binding_value( $args, $block ) {
|
||||||
case 'org-contribution-short-details':
|
case 'org-contribution-short-details':
|
||||||
$contribution_data = XProfile\get_aggregate_contributor_data_for_pledge( $block->context['postId'] );
|
$contribution_data = XProfile\get_aggregate_contributor_data_for_pledge( $block->context['postId'] );
|
||||||
return sprintf(
|
return sprintf(
|
||||||
__( 'Has pledged %s hours per week.', 'wporg-5ftf' ),
|
__( 'pledges %s hours per week.', 'wporg-5ftf' ),
|
||||||
number_format_i18n( absint( $contribution_data['hours'] ) ),
|
number_format_i18n( absint( $contribution_data['hours'] ) ),
|
||||||
);
|
);
|
||||||
case 'user-contribution-details':
|
case 'user-contribution-details':
|
||||||
|
|
Loading…
Reference in a new issue