PluginProbe
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More / 2.4.1
Better Payment – Instant Payments, Donations, Fundraising with Subscriptions & More v2.4.1
2.4.1 2.4.0 2.3.4 2.3.3 2.3.2 2.3.1 2.3.0 2.2.2 2.2.1 2.2.0 2.1.2 2.1.1 trunk 0.0.1 0.0.2 0.0.3 0.0.4 0.0.5 0.0.6 0.0.7 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 All 68 releases
← All changes | includes/Campaign/CampaignListColumns.php +4 -2 2.3.2 → 2.4.1 View file →
@@ -1,8 +1,10 @@
1 1 <?php
2 2
3 3 namespace Better_Payment\Lite\Campaign;
4 4
5 +use Better_Payment\Lite\Campaign\Support\Money;
6 +
5 7 use Better_Payment\Lite\Controller;
6 8
7 9 if ( ! defined( 'ABSPATH' ) ) {
8 10 exit;
@@ -39,15 +41,15 @@
39 41
40 42 printf(
41 43 '<strong>%s %s</strong> raised<br><small>%d donors &nbsp;|&nbsp; %d%%</small>',
42 44 esc_html( $currency ),
43 - esc_html( number_format( $raised, 2 ) ),
45 + esc_html( Money::format( $raised ) ),
44 46 (int) $stats['donor_count'],
45 47 (int) $progress
46 48 );
47 49
48 50 if ( $goal > 0 ) {
49 - printf( '<br><small>of %s %s goal</small>', esc_html( $currency ), esc_html( number_format( $goal, 2 ) ) );
51 + printf( '<br><small>of %s %s goal</small>', esc_html( $currency ), esc_html( Money::format( $goal ) ) );
50 52 }
51 53 }
52 54
53 55 if ( $column === 'campaign_builder' ) {