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 | templates/shortcode-goal.php +3 -1 4.16.04.16.9 View file →
@@ -4,8 +4,10 @@
4 4 use Give\DonationForms\DonationQuery;
5 5
6 6 /**
7 7 * This template is used to display the goal with [give_goal]
8 + *
9 + * @since 4.16.3 Escaped the goal color when rendering the progress bar.
8 10 */
9 11
10 12 /**
11 13 * @var int $form_id form id passed from the give_show_goal_progress() context
@@ -256,9 +258,9 @@
256 258 }
257 259 ?>
258 260 <div class="progress-bar">
259 261 <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow="<?php echo esc_attr( $progress_bar_value ); ?>">
260 - <span style="<?php echo $style; ?>"></span>
262 + <span style="<?php echo esc_attr( $style ); ?>"></span>
261 263 </div>
262 264 </div>
263 265 <?php endif; ?>
264 266