← All changes
|
src/Views/Form/Templates/Sequoia/views/social-sharing.php
+2
-2
4.16.2
→
4.18.0
View file →
| @@ -36,10 +36,10 @@ | ||
| 36 | 36 | url = window.Give.fn.removeURLParameter(url, 'giveDonationAction'); |
| 37 | 37 | url = window.Give.fn.removeURLParameter(url, 'payment-confirmation'); |
| 38 | 38 | url = window.Give.fn.removeURLParameter(url, 'payment-id'); |
| 39 | 39 | } |
| 40 | - const text = `<?php | |
| 41 | - echo $options['thank-you']['twitter_message']; ?>`; | |
| 40 | + const text = '<?php | |
| 41 | + echo esc_js($options['thank-you']['twitter_message']); ?>'; | |
| 42 | 42 | // Open new window with prompt for Twitter sharing |
| 43 | 43 | window.Give.share.fn.twitter(url, text); |
| 44 | 44 | return false; |
| 45 | 45 | "> |