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 | templates/shortcode-totals-progress.php +10 -6 2.3.24.17.0 View file →
@@ -29,9 +29,9 @@
29 29 <div class="give-goal-progress">
30 30 <div class="raised">
31 31 <?php
32 32 echo sprintf(
33 - /* translators: %s: percentage of the amount raised compared to the goal target */
33 + /* translators: %s: percentage of the amount raised compared to the goal target */
34 34 __( '<span class="give-percentage">%s%%</span> funded', 'give' ),
35 35 round( $progress )
36 36 );
37 37 ?>
@@ -37,11 +37,15 @@
37 37 ?>
38 38 </div>
39 39
40 40 <div class="give-progress-bar" role="progressbar" aria-valuemin="0" aria-valuemax="100"
41 - aria-valuenow="<?php echo esc_attr( $progress ); ?>">
42 - <span style="width: <?php echo esc_attr( $progress ); ?>%;<?php if ( ! empty( $color ) ) {
43 - echo 'background-color:' . $color;
44 - } ?>"></span>
41 + aria-valuenow="<?php echo esc_attr( $progress ); ?>">
42 + <span style="width: <?php echo esc_attr( $progress ); ?>%;
43 + <?php
44 + if ( ! empty( $color ) ) {
45 + echo 'background-color:' . $color;
46 + }
47 + ?>
48 + "></span>
45 49 </div><!-- /.give-progress-bar -->
46 50
47 -</div><!-- /.goal-progress -->
51 +</div><!-- /.goal-progress -->