PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.1 4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 All 255 releases
← All changes | src/MultiFormGoals/resources/views/progressbar.php +5 -2 2.30.04.16.9 View file →
@@ -1,8 +1,11 @@
1 1 <?php
2 2 /**
3 3 * Multi-Form Goals block/shortcode template
4 4 * Styles for this template are defined in 'blocks/multi-form-goals/common.scss'
5 + *
6 + * @since 3.19.1 Format the donation count
7 + *
5 8 * @var Give\MultiFormGoals\ProgressBar\Model $this
6 9 */
7 10
8 11 $uniqueId = uniqid('', true);
@@ -9,9 +12,9 @@
9 12 ?>
10 13
11 14 <div id="<?= esc_attr($uniqueId) ?>" class="give-progress-bar-block">
12 15 <style>
13 - <?php echo file_get_contents( GIVE_PLUGIN_DIR . 'assets/dist/css/multi-form-goal-block.css' ); ?>
16 + <?php echo file_get_contents( GIVE_PLUGIN_DIR . 'build/assets/dist/css/multi-form-goal-block.css' ); ?>
14 17 </style>
15 18 <!-- Target the Progress Bar Block elements using CSS "parts", see https://developer.mozilla.org/en-US/docs/Web/CSS/::part -->
16 19 <div part="goal" class="give-progress-bar-block__goal">
17 20 <div part="progress" class="give-progress-bar-block__progress">
@@ -31,9 +34,9 @@
31 34 echo __('raised', 'give'); ?></div>
32 35 </div>
33 36 <div part="stat-count" class="give-progress-bar-block__stat">
34 37 <div part="stat-count-value"><?php
35 - echo esc_html($this->getDonationCount()); ?></div>
38 + echo esc_html($this->getFormattedDonationCount()); ?></div>
36 39 <div part="stat-count-label"><?php
37 40 echo _n('donation', 'donations', $this->getDonationCount(), 'give'); ?></div>
38 41 </div>
39 42 <div part="stat-goal" class="give-progress-bar-block__stat">