| @@ -4,13 +4,17 @@ | ||
| 4 | 4 | */ |
| 5 | 5 | ?> |
| 6 | 6 | <div id="give-payment-processing"> |
| 7 | 7 | <?php |
| 8 | - Give()->notices->print_frontend_notice( sprintf( | |
| 9 | - /* translators: %s: success page URL */ | |
| 10 | - __( 'Your donation is processing. This page will reload automatically in 8 seconds. If it does not, click <a href="%s">here</a>.', 'give' ), | |
| 11 | - give_get_success_page_uri() | |
| 12 | - ), true, 'success' ); | |
| 8 | + Give_Notices::print_frontend_notice( | |
| 9 | + sprintf( | |
| 10 | + /* translators: %s: success page URL */ | |
| 11 | + __( 'Your donation is processing. This page will reload automatically in 8 seconds. If it does not, click <a href="%s">here</a>.', 'give' ), | |
| 12 | + give_get_success_page_uri() | |
| 13 | + ), | |
| 14 | + true, | |
| 15 | + 'success' | |
| 16 | + ); | |
| 13 | 17 | ?> |
| 14 | 18 | <span class="give-loading-animation"></span> |
| 15 | 19 | <script type="text/javascript">setTimeout(function () { |
| 16 | 20 | window.location = '<?php echo give_get_success_page_uri(); ?>'; |
| @@ -15,5 +19,5 @@ | ||
| 15 | 19 | <script type="text/javascript">setTimeout(function () { |
| 16 | 20 | window.location = '<?php echo give_get_success_page_uri(); ?>'; |
| 17 | 21 | }, 9000); |
| 18 | 22 | </script> |
| 19 | -</div> | |
| 23 | +</div> | |