PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.17.0
GiveWP – Donation Plugin and Fundraising Platform v4.17.0
4.17.0 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 All 256 releases
← All changes | src/Views/Form/Templates/Sequoia/sections/progress-bar.php +3 -2 4.16.1 → 4.17.0 View file →
@@ -1,7 +1,9 @@
1 1 <?php
2 2
3 3 /**
4 + * @since 4.16.3 Escaped the goal color when rendering the progress bar.
5 + *
4 6 * @var int $formId
5 7 */
6 8 if ($form->has_goal()) : ?>
7 9 <?php
@@ -15,10 +17,9 @@
15 17 ?>
16 18 <div class="progress-bar">
17 19 <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="<?php
18 20 echo $goalStats['progress']; ?>">
19 - <span style="<?php
20 - echo $style; ?>"></span>
21 + <span style="<?php echo esc_attr($style); ?>"></span>
21 22 </div><!-- /.give-progress-bar -->
22 23 </div>
23 24 <?php
24 25 endif; ?>