PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.18.0
GiveWP – Donation Plugin and Fundraising Platform v4.18.0
4.18.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 All 257 releases
← 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 ">